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

Components of the web script framework


The different high-level components that collectively make the powerful web script framework are as follows:

  • Web Script Runtime

  • Web Script Authenticator

  • Web Script Container

  • Other supporting components

    Web script framework components

Let's go through them one by one.

Web Script Runtime

Having understood the web script execution flow in detail, let's recollect the role of Web Script Runtime. While executing the web script, request dispatcher will first send the request to the Web Script Runtime. The Web Script Runtime then passes the control to the Web Script Container for further processing. Hence, it can be considered as the entry point into the web script framework after the request dispatcher.

Each and every web script gets executed in Web Script Runtime. It basically separates out the web script and its execution environment. Web Script Runtime encapsulates the complete web script execution environment, specifically requests, response, and authentication...