[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects

nobody@nowhere.com nobody@nowhere.com
Fri, 20 Sep 2002 14:34:26 -0400


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

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

    Documents hold text. In web applications, you generally use documents
    to create web pages. You can also use documents to hold text files or
    snippets of text or HTML code such as sidebars or headers. In addition
    to containing text, a document allows you to edit the text through the
    web.  Zope has several different types of documents. The most
    important is DTML Document.  DTML stands for *Document Template
    Markup Language*.

      % Anonymous User - May 27, 2002 10:26 pm:
       mengxianhui.edustar.com

      % Anonymous User - Sep. 8, 2002 5:09 pm:
       It would be appropriate and clarifying here to explain the difference(s) between Zope Documents and Page
       Templates. What you say above makes them seem pretty interchangeable.

      % hansa - Sep. 20, 2002 2:34 pm:
       The html of the server RESPONSE usually is put together from pieces, like documents. To get published,
       documents get *rendered*; for plain text or pure html, nothing needs to be done.
       Structured Text, ZPTs and DTML docs all contain instructions to some rendering preprocessor.
       The best example would be a little DTML document before and its resulting html after processing. Same for
       ZPTs. Just a condition and a small iteration with a couple of variables (like in Spicklemires/Friendly/Brand
       book p227f).