Creating Application Package Physical Structure
First, create an application package physical structure. It must be comprised of the following files:
- Application files. The application files to be installed on a web site and additional files included in the package (application icon that is shown to control panel users, application screen shots, etc). The files must comply with requirements outlined in the 4.2. Files section in the Specification.
- Metadata file. The file that contains all information about the package and instructs Controller how to manage it. It must be called
APP-META.xml and reside in the package root directory. For details on what data is stored in the file, refer to the Creating Application Package Metadata File section.
- Application Package scripts (optional). The scripts which are invoked by a Controller to manage the application package and application instances. Application management scripts are placed in the
/scripts directory in the package root. For details on where the scripts what tasks can be performed by the scripts, refer to the Creating Application Package Scripts section.