Creating Application Instance

Controller performs the following actions when it is instantiating an application package:

  1. Prepares all the data and conditions necessary for instantiating:

    The order of these preparatory sub-stages depends on the Controller implementation.

  2. Deploys the application files to a site (See the 4.5. URL mapping, 4.6.2.3. Aspect-defined environment variables sections in the Specification.)
  3. Runs the application configuration script passing to it all the available information about the application in the form of environment variables created on the previous stages. (See the 4.3.12. Configuration script language, 4.6. Configuration script, 4.6.2. Environment Variables sections in the Specification.)