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/Advanced/Assets.page | 26 ++-- .../quickstart/protected/pages/Advanced/Auth.page | 38 +++--- .../protected/pages/Advanced/Collections.page | 58 ++++---- .../quickstart/protected/pages/Advanced/Error.page | 32 ++--- .../quickstart/protected/pages/Advanced/I18N.page | 146 +++++++++++---------- .../protected/pages/Advanced/Logging.page | 26 ++-- .../protected/pages/Advanced/MasterContent.page | 22 ++-- .../protected/pages/Advanced/Performance.page | 38 +++--- .../pages/Advanced/Samples/I18N/Home.de.page | 2 +- .../pages/Advanced/Samples/I18N/Home.es.page | 2 +- .../pages/Advanced/Samples/I18N/Home.fr.page | 2 +- .../pages/Advanced/Samples/I18N/Home.page | 2 +- .../pages/Advanced/Samples/I18N/Home.pl.page | 2 +- .../pages/Advanced/Samples/I18N/Home.zh.page | 2 +- .../pages/Advanced/Samples/I18N/zh_TW/Home.page | 2 +- .../protected/pages/Advanced/Scripts.page | 104 +++++++-------- .../protected/pages/Advanced/Scripts1.page | 22 ++-- .../protected/pages/Advanced/Scripts2.page | 80 +++++------ .../protected/pages/Advanced/Scripts3.page | 12 +- .../protected/pages/Advanced/Security.page | 38 +++--- .../quickstart/protected/pages/Advanced/State.page | 26 ++-- .../protected/pages/Advanced/Themes.page | 26 ++-- 22 files changed, 355 insertions(+), 353 deletions(-) (limited to 'demos/quickstart/protected/pages/Advanced') diff --git a/demos/quickstart/protected/pages/Advanced/Assets.page b/demos/quickstart/protected/pages/Advanced/Assets.page index 8c7980a6..f8a41bc3 100644 --- a/demos/quickstart/protected/pages/Advanced/Assets.page +++ b/demos/quickstart/protected/pages/Advanced/Assets.page @@ -1,31 +1,31 @@

Assets

-

+

Assets are resource files (such as images, sounds, videos, CSS stylesheets, javascripts, etc.) that belong to specific component classes. Assets are meant to be provided to Web users. For better reusability and easier deployment of the corresponding component classes, assets should reside together with the component class files . For example, a toggle button may use two images, stored in file down.gif and up.gif, to show different toggle states. If we require the image files be stored under images directory under the Web server document root, it would be inconvenient for the users of the toggle button component, because each time they develop or deploy a new application, they would have to manually copy the image files to that specific directory. To eliminate this requirement, a directory relative to the component class file should be used for storing the image files. A common strategy is to use the directory containing the component class file to store the asset files.

-

+

Because directories containing component class files are normally inaccessible by Web users, PRADO implements an asset publishing scheme to make available the assets to Web users. An asset, after being published, will have a URL by which Web users can retrieve the asset file.

Asset Publishing

-

+

PRADO provides several methods for publishing assets or directories containing assets:

-