Converting a JavaScript application into a module has a number of advantages. For example, the application source can be checked into a source control environment, and it can be distributed and deployed as a module unit.

The jstutorial.module file shows how to convert two of the application pages (reagentRequest and confirmation) into views within a module. The .module file is a renamed .zip archive. To unzip the file and see the source, rename it to "jstutorial.zip", and unzip it.

To deploy and use the .module file:

Related Topics

  Attached Files  
   
 jstutorial.module

Was this content helpful?

Log in or register an account to provide feedback


previousnext
 
expand allcollapse all