Getting Started > Deploying applications and application instances > Storing your application's server-side script files

 

Storing your application's server-side script files

In most of your applications, you're likely to use server-side scripting. You create the server-side script file for your application in a JavaScript text editor. Name this file main.asc or registered_app_name.asc, where registered_app_name is the name of the registered application directory and the application itself. Save this file in your registered application directory. For example, if you have an /applications/chat_app directory for your chat application, you could name your server-side script file chat_app.asc and place it in the chat_app directory.

Note: You can also use a file extension of .js for your server-side script file. If you want, you can place your server-side scripts in a subdirectory named scripts in the registered application directory (/applications/chat_App/scripts). For information on server-side script naming, see the Flash Communication Server Support Center.