From eab6bb13b9efb3e1c6d725368368de4d74b00946 Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 7 May 2007 04:17:37 +0000 Subject: Update Active Record docs. --- demos/quickstart/protected/pages/Advanced/Performance.page | 2 +- demos/quickstart/protected/pages/Advanced/Scripts3.page | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'demos/quickstart/protected/pages/Advanced') diff --git a/demos/quickstart/protected/pages/Advanced/Performance.page b/demos/quickstart/protected/pages/Advanced/Performance.page index c4eb9ef0..9d557150 100644 --- a/demos/quickstart/protected/pages/Advanced/Performance.page +++ b/demos/quickstart/protected/pages/Advanced/Performance.page @@ -33,7 +33,7 @@ if($application->Cache) { where $keyName should be a string that uniquely identifies the data item stored in cache.

-

+

Since v3.1.0, a new control called TOutputCache has been introduced. This control allows users to selectively cache parts of a page's output. When used appropriately, this technique can significant improve pages' performance because the underlying controls are not created at all if the cached versions are hit.

diff --git a/demos/quickstart/protected/pages/Advanced/Scripts3.page b/demos/quickstart/protected/pages/Advanced/Scripts3.page index 86e8bab9..96420219 100644 --- a/demos/quickstart/protected/pages/Advanced/Scripts3.page +++ b/demos/quickstart/protected/pages/Advanced/Scripts3.page @@ -1,7 +1,7 @@

Javascript in PRADO, Questions and Answers

How do I include the Javascript libraries distributed with Prado?

-

The javascript libraries distributed with Prado can be found in the +

The javascript libraries distributed with Prado can be found in the framework/Web/Javascripts/source directory. The packages.php file in that directory defines a list of available package names available to be loaded. They can be loaded as follows. @@ -36,7 +36,7 @@ and its dependencies will be automatically included on the page.

See TClientScript for options of adding your custom Javascript code to the page.

-

Publishing Javascript Libraries as Assets

+

Publishing Javascript Libraries as Assets

Use TClientScriptLoader to publish and combine multiple existing javascript files (e.g. javascript libraries distributed with Prado or otherwise) as packages.

For greater control on what and when to publish, use the -- cgit v1.2.3