Index: openacs-4/packages/acs-core-docs/www/templates.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/templates.html,v diff -u -r1.22.2.1 -r1.22.2.2 --- openacs-4/packages/acs-core-docs/www/templates.html 14 Nov 2003 09:43:46 -0000 1.22.2.1 +++ openacs-4/packages/acs-core-docs/www/templates.html 21 Nov 2003 11:14:10 -0000 1.22.2.2 @@ -1,8 +1,8 @@ -Using Templates in OpenACS 5.0.0b1

Using Templates in OpenACS 5.0.0b1

By Pete Su


+Using Templates in OpenACS 5.0.0b2

Using Templates in OpenACS 5.0.0b2

By Pete Su

OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff. -

Overview

-The OpenACS 5.0.0b1 Template System (ATS) is designed to allow developers to +

Overview

+The OpenACS 5.0.0b2 Template System (ATS) is designed to allow developers to cleanly separate application logic from display logic. The intent is to have all of the logic related to manipulating the database and other application state data in one @@ -159,7 +159,7 @@

Summary

Templates separate application logic from display logic by requiring the developer to write pages in two stages, one file for database -queries and application logic, and another for display. In OpenACS 5.0.0b1, the +queries and application logic, and another for display. In OpenACS 5.0.0b2, the logic part of the page is just a .tcl that sets up data sources that are used by the display part of the page. The display part of the page is an .adp file with some