Application configurations are used to specify the global behavior of an application. They include specification of path aliases, namespace usages, module and service configurations, and parameters.
Configuration for an application is stored in an XML file named application.xml, which should be located under the application base path. Its format is shown in the following,
<application PropertyName="PropertyValue" ...> <paths> <alias id="AliasID" path="AliasPath" /> <using namespace="Namespace" /> </paths> <modules> <module id="ModuleID" class="ModuleClass" PropertyName="PropertyValue" ... /> </modules> <services> <service id="ServiceID" class="ServiceClass" PropertyName="PropertyValue" ... /> </services> <parameters> <parameter id="ParameterID" class="ParameterClass" PropertyName="PropertyValue" ... /> </parameters> </application>
<parameter id="ParameterID">ParameterValue</parameter>