- In the content repository under the folder /Company Home/Data Dictionary/Web Scripts Extensions
- In the content repository under the folder /Company Home/Data Dictionary/Web Scripts
- In the classpath under the folder /alfresco/extension/templates/webscripts
- In the classpath under the folder /alfresco/templates/webscripts
Placing web scripts in the classpath lets you package and deploy them with other extensions that comprise your solution. You can install them using standard SkyVault tools without having to upload them into the content repository. However, it may not be as convenient to edit them while developing them as if they were located in the SkyVault content repository where you can easily edit them using SkyVault Explorer or Share. You can also export and import web scripts in the content repository using the ACP (SkyVault Content Package) mechanism.
A single SkyVault content application server may contain hundreds of web scripts, each implemented with multiple files. To help manage all these web scripts, the Web Script Framework lets you organize web script component files into a hierarchical folder or package structure, similar to a Java package construct. Typically, the package name follows the reverse domain name pattern. For example, SkyVault's web scripts are all located in a folder named org/SkyVault, which is reserved by SkyVault.