summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Fundamentals/Applications.page
diff options
context:
space:
mode:
authorxue <>2005-12-27 03:46:55 +0000
committerxue <>2005-12-27 03:46:55 +0000
commite62f17f80a7cfd6f89f74fe6f2062850f54d1477 (patch)
treefc757968ccde20e14ca1f80a1ff6dc51f9e8d636 /demos/quickstart/protected/pages/Fundamentals/Applications.page
parent08b59ff62c4dfc98674c263269807798b6a83463 (diff)
Diffstat (limited to 'demos/quickstart/protected/pages/Fundamentals/Applications.page')
-rw-r--r--demos/quickstart/protected/pages/Fundamentals/Applications.page25
1 files changed, 25 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Fundamentals/Applications.page b/demos/quickstart/protected/pages/Fundamentals/Applications.page
new file mode 100644
index 00000000..0a3028c5
--- /dev/null
+++ b/demos/quickstart/protected/pages/Fundamentals/Applications.page
@@ -0,0 +1,25 @@
+<com:TContent ID="body" >
+
+<h1>Applications</h1>
+<p>
+An application is an instance of <code>TApplication</code> or its derived class. Each PRADO application consists of a single application instance, one or several services, and some modules. For applications providing the page service (true for nearly all applications), they also contain one or several pages.
+</p>
+<p>
+The application instance is the only object that is accessible globally via <code>Prado::getApplication()</code> function call. It manages modules that provide different functionalities and are loaded when needed. It holds services that are available to end-users. An application instance may be configured via <a href="?page=Configurations.AppConfig">application configurations</a>.
+</p>
+<p>
+An application instance is usually created in an entry script in a PRADO application, as shown in the following,
+<pre class="source">
+require_once('/path/to/prado.php');
+$application = new TApplication;
+$application-&gt;run();
+</pre>
+where the method <code>run()</code> starts the application to handle user requests.
+</p>
+
+<h2>Application Lifecycles</h2>
+<p>
+TBD
+</p>
+
+</com:TContent> \ No newline at end of file