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.8.2.1 -r1.8.2.2 --- openacs-4/packages/acs-core-docs/www/templates.html 24 Nov 2002 21:29:18 -0000 1.8.2.1 +++ openacs-4/packages/acs-core-docs/www/templates.html 29 Mar 2003 20:44:55 -0000 1.8.2.2 @@ -1,9 +1,9 @@ -Using Templates in OpenACS 4.6

Using Templates in OpenACS 4.6

By Pete Su


+Using Templates in OpenACS 4.6.2

Using Templates in OpenACS 4.6.2

By Pete Su


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

Overview

-The OpenACS 4.6 Template System (ATS) is designed to allow developers to +The OpenACS 4.6.2 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 @@ -160,12 +160,12 @@

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 4.6, the +queries and application logic, and another for display. In OpenACS 4.6.2, 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 special tags and notations for dealing with display logic and inserting properties into the text of the page. Later on we'll get into templates more deeply, and show how to use database queries as data sources. -

($Id$)
View comments on this page at openacs.org
+

($Id$)
View comments on this page at openacs.org