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

Deployment options


There are two possible ways you can have your web scripts deployed:

  • Using the repository option

  • Using the filesystem option

When creating web scripts in Alfresco, you might be creating Java-backed or JavaScript-backed web scripts for your project. Both can be deployed in different ways. It is important to know where you can deploy a web script with each deployment option and also which option is more suitable to you.

The repository option

In simple words, deploying a web script using the repository option means putting the web script component files inside a specific location within the repository.

First, let's take a look at the deployment of JavaScript-based web scripts. JavaScript-based web scripts can be deployed in the Alfresco repository. All the components for the JavaScript-based web script such as the description document, JavaScript-backed controller implementation, one or more response templates, configuration documents if any, and optional message bundles can be...