From 9be8859d92e4bbec2462e82457d014f0a0d720db Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 26 Dec 2005 15:54:54 +0000 Subject: --- .../protected/pages/Configurations/AppConfig.page | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 demos/quickstart/protected/pages/Configurations/AppConfig.page (limited to 'demos/quickstart/protected/pages/Configurations/AppConfig.page') diff --git a/demos/quickstart/protected/pages/Configurations/AppConfig.page b/demos/quickstart/protected/pages/Configurations/AppConfig.page new file mode 100644 index 00000000..b6bf89f5 --- /dev/null +++ b/demos/quickstart/protected/pages/Configurations/AppConfig.page @@ -0,0 +1,40 @@ + + +

Application Configurations

+

+Application configurations are used to specify the global behavior of an application. This consists of specifying the paths, modules, services and parameters that will be used in an application. +

+

+Application configurations are stored in an XML file which is passed as a parameter to the TApplication instance. The format of application configurations 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>
+
+ +By default without explicit configuration, a PRADO application when running will load a few core modules, such as THttpRequest, THttpResponse, etc. It will also provide the TPageService as a default service. Configuration and usage of these modules and services are covered in individual sections of this tutorial. Note, if your application takes default settings for these modules and service, you do not need to provide an application configuration. However, if these modules or services are not sufficient, or you want to change their behavior by configuring their property values, you will need an application configuration. +

+ +
\ No newline at end of file -- cgit v1.2.3