[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates

webmaster@zope.org webmaster@zope.org
Fri, 27 Dec 2002 00:29:09 -0500


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-13

---------------

    There are template statements for replacing entire tags, their
    contents, or just some of their attributes.  You can repeat a tag
    several times or omit it entirely.  You can join parts of several
    templates together, and specify simple error handling.  All of
    these capabilities are used to generate document structures.
    Despite these capabilities, you **can't** create subroutines or
    classes, perform complex flow control, or easily express complex
    algorithms.  For these tasks, you should use Python-based Scripts
    or application components.

      % Anonymous User - May 22, 2002 6:56 pm:
       Please give examples of "subroutines or classes, perform complex flow control, or easily express complex
       algorithms"

      % Anonymous User - Sep. 10, 2002 11:33 am:
       If you really want to emphasize "can't", you should spell out "cannot".

       Your friends, Strunk & White

      % Anonymous User - Dec. 27, 2002 12:29 am:
       Please provide examples to support your statements.