Summary
In this chapter, we have practically implemented the simplest first web script in Alfresco, got an understanding of the Alfresco web script URI so we know how to use a web script, how to add arguments to a web script, and then extend the first simple web script to have a controller implemented.
Also, we learned at a high level what happens behind the scenes of a web script hit when a controller is used for a web script and if a no controller is implemented.
We learned some very important things while implementing web scripts in Alfresco such as different HTTP methods supported by the web script framework in Alfresco, when to choose which method, different ways of specifying arguments to a web script, a list of response formats supported by web script framework in Alfresco, and how to make your web script return a response in a different response format based on the requested response format.
Overall, we have gained a good knowledge about some of the fundamental things when implementing...