From daa4dde508865ef0f08e584987b0695d4847809a Mon Sep 17 00:00:00 2001 From: Ciro Mattia Gonano Date: Wed, 24 Apr 2013 09:59:46 +0200 Subject: Update to 3.2.1 --- .../ActiveControls/Samples/TActiveButton/Home.php | 2 +- .../Samples/TActiveCheckBox/Home.php | 2 +- .../ActiveControls/Samples/TAutoComplete/Home.php | 2 +- .../Samples/TCallbackOptions/Home.php | 2 +- .../pages/ActiveControls/Samples/config.xml | 2 +- .../pages/Advanced/Samples/I18N/LanguageList.php | 4 +- .../Advanced/Samples/I18N/messages/index.de.xml | 2 +- .../Advanced/Samples/I18N/messages/index.en.xml | 2 +- .../Advanced/Samples/I18N/messages/index.es.xml | 2 +- .../Advanced/Samples/I18N/messages/index.fr.xml | 2 +- .../Advanced/Samples/I18N/messages/index.pl.xml | 2 +- .../Advanced/Samples/I18N/messages/index.zh.xml | 2 +- .../Advanced/Samples/I18N/messages/tests.de.xml | 2 +- .../Advanced/Samples/I18N/messages/tests.en.xml | 2 +- .../Advanced/Samples/I18N/messages/tests.es.xml | 2 +- .../Advanced/Samples/I18N/messages/tests.fr.xml | 2 +- .../Advanced/Samples/I18N/messages/tests.pl.xml | 2 +- .../Advanced/Samples/I18N/messages/tests.zh.xml | 2 +- .../protected/pages/Configurations/AppConfig.page | 57 ---------------------- .../pages/Controls/Samples/TConditional/Home.page | 4 +- .../pages/GettingStarted/NewFeatures.page | 12 ++--- 21 files changed, 24 insertions(+), 87 deletions(-) mode change 100644 => 100755 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.php mode change 100644 => 100755 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.php mode change 100644 => 100755 demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.php mode change 100644 => 100755 demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackOptions/Home.php mode change 100644 => 100755 demos/quickstart/protected/pages/ActiveControls/Samples/config.xml mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/LanguageList.php mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.en.xml mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.en.xml mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml mode change 100644 => 100755 demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml (limited to 'demos/quickstart/protected') diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.php old mode 100644 new mode 100755 index 96d64aea..eb7b027c --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.php +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.php @@ -1,6 +1,6 @@ - + diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/LanguageList.php b/demos/quickstart/protected/pages/Advanced/Samples/I18N/LanguageList.php old mode 100644 new mode 100755 index d730396b..4eba37ee --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/LanguageList.php +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/LanguageList.php @@ -2,14 +2,14 @@ /** * Language List * @author $Author: weizhuo $ - * @version $Id$ + * @version $Id: LanguageList.php 3189 2012-07-12 12:16:21Z ctrlaltca $ * @package prado.examples */ /** * * @author $Author: weizhuo $ - * @version $Id$ + * @version $Id: LanguageList.php 3189 2012-07-12 12:16:21Z ctrlaltca $ */ class LanguageList extends TTemplateControl { diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml old mode 100644 new mode 100755 index af842c02..696fafe0 --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml @@ -1,7 +1,7 @@ - + diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.en.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.en.xml old mode 100644 new mode 100755 index 5c789e8f..47823b30 --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.en.xml +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.en.xml @@ -1,7 +1,7 @@ - + diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml old mode 100644 new mode 100755 index 012daab3..86548092 --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml @@ -1,7 +1,7 @@ - + diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml old mode 100644 new mode 100755 index 0a8137cf..e486d644 --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml @@ -1,7 +1,7 @@ - + diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml old mode 100644 new mode 100755 index 362f966b..e1f6cf0d --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml @@ -1,7 +1,7 @@ - + diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml old mode 100644 new mode 100755 index 79702f3c..ae2c8a2d --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml @@ -1,7 +1,7 @@  - + diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml old mode 100644 new mode 100755 index d6038f0a..b98547b7 --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml @@ -1,7 +1,7 @@ - + diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.en.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.en.xml old mode 100644 new mode 100755 index 9f2ca557..50af18b1 --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.en.xml +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.en.xml @@ -1,7 +1,7 @@ - + diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml old mode 100644 new mode 100755 index 0e1b58ad..e4119a6c --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml @@ -1,7 +1,7 @@ - + diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml old mode 100644 new mode 100755 index 1d3523e9..20609fcb --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml @@ -1,7 +1,7 @@ - + diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml old mode 100644 new mode 100755 index ee18d515..82a33cbc --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml @@ -1,7 +1,7 @@ - + diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml old mode 100644 new mode 100755 index 0c7e4897..4f93f268 --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml @@ -1,7 +1,7 @@  - + diff --git a/demos/quickstart/protected/pages/Configurations/AppConfig.page b/demos/quickstart/protected/pages/Configurations/AppConfig.page index 7887d959..83f1bc7e 100644 --- a/demos/quickstart/protected/pages/Configurations/AppConfig.page +++ b/demos/quickstart/protected/pages/Configurations/AppConfig.page @@ -56,61 +56,4 @@ An external configuration file has the same format as described above. Although By default without explicit configuration, a PRADO application 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.

- -

-By default PRADO instanciates all modules defined in the application configuration at the beginning of the application lifecycle. This can hit the application performance if you have a lot of modules defined but not used at every request. -Since version 3.2.2 you can set the lazy property on modules defined in the application configuration to enable the lazy loading of that module. - - - - - - - -A module with the lazy property set won't be instanciated until the first time it gets actually used by the application: - - - // requesting the lazy module to the application will instanciate it - Prado::getApplication()->getModule('ModuleID'); - -

- - -

-Since version 3.2 the application configuration can be stored in PHP array format in a file named application.php. -The format of the configuration file is exactly the same of its XML counterpart, but following the PHP syntax. -

- - - array( - 'PropertyName' => 'PropertyValue' - ), - 'modules' => array( - 'ModuleID' => array( - 'class' => 'ModuleClass', - 'properties' => array( - 'PropertyName' => 'PropertyValue' - ), - ), - ), - 'services' => array( - 'ServiceID' => array( - 'class' => 'ServiceClass', - 'properties' => array( - 'PropertyName' => 'PropertyValue' - ), - ), - ), -); - - -The use of a PHP application configuration must be defined in the TApplication constructor, tipically located in the index.php entry script: - - -$application=new TApplication('protected',false,TApplication::CONFIG_TYPE_PHP); -$application->run(); - - diff --git a/demos/quickstart/protected/pages/Controls/Samples/TConditional/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TConditional/Home.page index 50f7bbb4..7baa16d6 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TConditional/Home.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TConditional/Home.page @@ -1,9 +1,9 @@

TConditional Samples

- + - + diff --git a/demos/quickstart/protected/pages/GettingStarted/NewFeatures.page b/demos/quickstart/protected/pages/GettingStarted/NewFeatures.page index 2cd3f0a9..98adc925 100644 --- a/demos/quickstart/protected/pages/GettingStarted/NewFeatures.page +++ b/demos/quickstart/protected/pages/GettingStarted/NewFeatures.page @@ -6,17 +6,11 @@ This page summarizes the main new features that are introduced in each PRADO release.

-

Version 3.2.2

-
    -
  • TUrlMappingPattern support for constant parameters
  • -
  • Lazy module loading in application configuration
  • -
-

Version 3.2.1

    -
  • TSecurityManager has been enhanced to support all the ciphers available in php
  • -
  • Added a new UrlFormat for TUrlManager: HiddenPath; works like the 'Path' format, but hides the entryscript.php name
  • -
  • Updated external packages
  • +
  • TSecurityManager has been enhanced to support all the ciphers available in php
  • +
  • Added a new UrlFormat for TUrlManager: HiddenPath; works like the 'Path' format, but hides the entryscript.php name
  • +
  • Updated external packages

Version 3.2.0

-- cgit v1.2.3