[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Basic DTML
webmaster at zope.org
webmaster at zope.org
Wed Jan 21 03:24:54 EST 2004
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/DTML.stx#2-1
---------------
DTML is similar in function to "HTML-embedded" scripting languages
such as JSP, PHP, or mod_perl. It differs from these facilities
inasmuch as it will not allow you to create "inline" Python
*statements* (if... then.. else..) in the way that JSP, mod_perl
or PHP will allow you to embed a block of their respective
language's code into an HTML page. DTML does allow you to embed
Python *expressions* (a == 1) into HTML-like tags. It provides
flow control and conditional logic by way of "special" HTML tags.
It is more similar to Perl's 'HTML::Template' package than it is
to mod_perl in this way. It can also be compared to the web
server facility of Server Side Includes (SSI), but with far more
features and flexibility.
% Anonymous User - Jan. 21, 2004 3:24 am:
test cbo
More information about the ZDP
mailing list