From 45b0fe42a979d444d547a5248eb2e9e915aaf16a Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 14 Jan 2007 02:10:24 +0000 Subject: Add "block-content" to allow user comments on block level elements in quickstart docs. --- .../protected/pages/Fundamentals/Applications.page | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (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 index 48db41e8..8fd22fa2 100644 --- a/demos/quickstart/protected/pages/Fundamentals/Applications.page +++ b/demos/quickstart/protected/pages/Fundamentals/Applications.page @@ -1,12 +1,12 @@

Applications

-

+

An application is an instance of TApplication or its derived class. It manages modules that provide different functionalities and are loaded when needed. It provides services to end-users. It is the central place to store various parameters used in an application. In a PRADO application, the application instance is the only object that is globally accessible via Prado::getApplication() function call.

-

+

Applications are configured via application configurations. They are usually created in entry scripts like the following, - + require_once('/path/to/prado.php'); $application = new TApplication; $application->run(); @@ -15,11 +15,11 @@ where the method run() starts the application to handle user requests.

Directory Organization

-

+

A minimal PRADO application contains two files: an entry file and a page template file. They must be organized as follows, +

- -