Previous Topic

Next Topic

Book Contents

Forms folder

This folder should keep the dialog forms where the user will enter parameters necessary to install/reconfigure a given application on the domain side. Also, this folder should contain event handler files referring to these forms. If the folder is empty, the installation package is invalid.

When the install/reconfiguration procedure is triggered for a web application, first the AV mechanism searches for a respective parameter input form across this folder. The parameter input form is implemented as a PHP file with its name formatted as follows:

installer-form-<step number>.php

reconfigure-form-<step number>.php

The PHP file name specifies the type of operation, indicates that the file is an input form, and specifies the step number (which is reserved for multi-step wizards).

After the user has entered the required information in the parameter input form and pressed the OK or NEXT button, Application Vault looks through this folder again, this time searching for a matching handler. A handler is a PHP file with the following name format:

installer-handler-<step number>.php

reconfigure-handler-<step number>.php

This name format is similar to the one used for forms, except it describes the file as a handler.

The following table summarizes the above information and specifies what objects should be present in the /forms folder of a valid installation package:

Procedure

Form

Handler

Name format

If missing

Name format

If missing

Install

installer-form-<step_number>.php

error

installer-handler-<step_number>.php

error

Reconfigure

reconfigure-form-<step_number>.php

error

reconfigure-handler-<step_number>.php

error

Deletion

Not used

ok

Not used

ok

The table presents three important facts, that is:

See Also

Installation Package

Scripts folder

Apps folder

Info folder

Docs folder

Uninstall folder

Screenshots folder