The description document – it's a must!
While developing web scripts, the first thing to do is perform a brief exercise to decide on the URI and HTTP method of the web script, any arguments to be provided to the web script, the response format to be used for the web script, check whether any authentication is to be used for the web script or not, and check whether any backend processing is required with the repository or not, and then start with the implementation and first create the description document for the web script.
A description document is the core of web script implementation, and it is basically an XML file. It describes the important details about a web script. Any developer taking a look at the description document can get an idea about what the web script does at a high level.
This is the first file that needs to be developed while creating a web script in Alfresco. There are certain mandatory declarations that must be provided in the web script description document for a web...