From e62f17f80a7cfd6f89f74fe6f2062850f54d1477 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 27 Dec 2005 03:46:55 +0000 Subject: --- .../protected/pages/Fundamentals/Applications.page | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 demos/quickstart/protected/pages/Fundamentals/Applications.page (limited to 'demos/quickstart/protected/pages/Fundamentals/Applications.page') 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 @@ + + +

Applications

+

+An application is an instance of TApplication 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. +

+

+The application instance is the only object that is accessible globally via Prado::getApplication() 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 application configurations. +

+

+An application instance is usually created in an entry script in a PRADO application, as shown in the following, +

+require_once('/path/to/prado.php');
+$application = new TApplication;
+$application->run();
+
+where the method run() starts the application to handle user requests. +

+ +

Application Lifecycles

+

+TBD +

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