Book Image

Learning Alfresco Web Scripts

By : Ramesh Chauhan
Book Image

Learning Alfresco Web Scripts

By: Ramesh Chauhan

Overview of this book

If you are an Alfresco developer who has no experience with web scripts and you want to start developing Alfresco web scripts, then this book is definitely for you.
Table of Contents (12 chapters)
11
Index

Chapter 3. Understanding the Web Script Framework

In this chapter, we will cover the following topics:

  • End-to-end execution flow of a web script
  • Components that collectively make the web script framework
  • Deployment architecture for a web script

The web script framework in Alfresco is a powerful one and its basic goal is to ensure that:

  • Web scripts in Alfresco are easy to develop
  • Web scripts can support various useful features, such as support for internationalization to render output in multiple languages, exposing configuration options for a web script, similarly like the ServletConfig for servlets

The web script framework in Alfresco is designed as per the model-view-controller pattern (MVC pattern) and makes it easy to develop new web scripts to expose a RESTful API to interact with the Alfresco backend repository.

In this chapter, we are going to deep dive into the web script framework in Alfresco to get an understanding of the various components that collectively make it a powerful...