Index: openacs-4/packages/acs-templating/www/doc/requirements.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/requirements.adp,v
diff -u -r1.2.2.1 -r1.2.2.2
--- openacs-4/packages/acs-templating/www/doc/requirements.adp 20 Aug 2015 17:19:53 -0000 1.2.2.1
+++ openacs-4/packages/acs-templating/www/doc/requirements.adp 25 Aug 2015 18:02:10 -0000 1.2.2.2
@@ -2,18 +2,26 @@
The template system is designed to be used by two classes of
+
+
+ The template system is designed to be used by two classes of
users: programmers and designers. In bulding a web site,
programmers are generally responsible for defining and implementing
the application logic of the site, while designers are more
@@ -47,10 +60,13 @@
the user. The template system must provide mechanisms that supports
both of these tasks and allows the designer and programmer to work
seperately, but for their work to be combined at runtime into
-something that the user sees as a single page. Thus, pages are naturally split into two parts. The logic
+something that the user sees as a single page. Thus, pages are naturally split into two parts. The logic
part executes application logic and generates data, and the
presentation part that specifies the layout of the page and
-so on. What is needed is:ACS Templating Requirements
-by Karl Goldstein,
+
+by Karl Goldstein
+,
Christian
-Brechbühler, Peter
-Su, and Yonatan FeldmanI. Introduction
+Brechbühler
+, Peter
+Su
+, and Yonatan Feldman
+
+I. Introduction
+
The following is a requirements document for the ACS Templating
System version 0.5. It has also been called Karl's Templates, the
Dynamic Publishing System (DPS), and Stencil. The official package
-name for the system is now acs-templating
.
-II. Vision Statement
+name for the system is now acs-templating
+.
+
+II. Vision Statement
+
On websites of sufficient size, a consistent look and feel (the UI,
or user interface) for users is important, while for site
publishers and administrators, de-coupling the UI from programming
@@ -27,7 +35,9 @@
fills the blanks in the template. In addition, the templating
system provides a way to use a single layout specification for the
majority - if not all - of a website's pages, so the overall layout
-of a site can be more easily administered. III. System Overview
+of a site can be more easily administered.
+III. System Overview
+
The templating system provides:
IV. Use-cases and User-scenarios
IV. Use-cases and User-scenarios
+
+so on.
What is needed is:
+Jane Programmer writes a page contract and a draft template, + +
Jane Programmer writes a page contract and a draft template, that uses the promised page properties. Joe Designer takes that template and makes it look nice, using his design skills and HTML literacy. Meanwhile Jane Programmer writes code to generate the page properties, typically by querying the database. When both are done, the page is ready for Jim User, who requests it using his web -browser.
+browser.
+Alternate scenario: Judy Designer is familiar with the template system. She starts directly from a defined page contract, -so Jane Programmer doesn't need to write the draft template.
Programmers and designers should only have to learn a single system that serves as a UI substrate for all the functionally @@ -172,7 +195,10 @@ template specifications and work on templates remotely without needing shell access to the server.
The Templating System must be releasable as part of the ACS and as a separate product. When distributed as part of the ACS all @@ -185,7 +211,9 @@ page load speed by more than 10% versus a Tcl page with inline HTML.
Document Revision # | Action Taken, Notes | When? | By Whom? |
---|---|---|---|
0.3 | Edited, reviewed, pending freeze | 8/28/2000 | Kai Wu |