Book Image

Learning Alfresco Web Scripts

By : Ramesh Chauhan
Book Image

Learning Alfresco Web Scripts

By: Ramesh Chauhan

Overview of this book

Table of Contents (18 chapters)
Learning Alfresco Web Scripts
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
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 framework...