Index: openacs-4/packages/acs-templating/www/doc/design.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/design.html,v diff -u -N -r1.4.2.2 -r1.4.2.3 --- openacs-4/packages/acs-templating/www/doc/design.html 21 Apr 2017 16:50:30 -0000 1.4.2.2 +++ openacs-4/packages/acs-templating/www/doc/design.html 22 Apr 2017 18:30:26 -0000 1.4.2.3 @@ -185,7 +185,7 @@ distinguish it from the obsolescent templates or "Styles" by Philip Greenspun. An extended and improved version was named "Dynamic Publishing System". It wasn't part of the ACS yet, but - client projects like iluvCAMP used it successfuly. Newcomers + client projects like iluvCAMP used it successfully. Newcomers were consistently puzzled by the .data files, which specified the datasources in an apparently unfamiliar XML syntax. (The .form files specified elements in an @@ -324,7 +324,7 @@ -properties block indicates a set of data sources that will be made available to the template.
  • - The rest of the tcl script executes, defining these data + The rest of the Tcl script executes, defining these data sources. It may change the name of the page being served by calling template::set_file directly or through the wrapper ad_return_template. @@ -392,12 +392,12 @@

    Caching and Template Compilation

    - To improve performance, adp pages are compiled into a tcl proc, + To improve performance, adp pages are compiled into a Tcl proc, and thus cached for future use. Tcl pages are also cached in a proc; this saves the trouble of reading and parsing the file the next time. The template system remembers the modification times of the adp and - tcl sources, and re-processes any requested file if the cached + Tcl sources, and re-processes any requested file if the cached version is no longer current. Consequently, this cacheing is transparent in normal use.