Creating Application Instance
Controller performs the following actions when it is instantiating an application package:
- Prepares all the data and conditions necessary for instantiating:
- Presents an application-usage license text (if any is provided in the package) to a user and provides tools necessary for accepting the license if it is required. (See the 4.3.11 License section in the Specification.)
- Determines and satisfies the application requirements. (See the 4.4. Requirements, 4.6.2.3. Aspect-defined environment variables sections in the Specification.)
- Prompts the user to configure the application installation settings and processes the submitted settings. (See the 4.6.2. Environment Variables, 4.3.19. Settings, 4.3.15. Entry points sections in the Specification.)
- Retrieves the application's global configuration and prepares to apply it to the instance. (See the 4.3.19. Settings, 4.6.2.2. Settings sections in the Specification)
The order of these preparatory sub-stages depends on the Controller implementation.
- 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.)
- 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.)