The argument is that Page Templates are xhtml (or just xml) with the added TAL and METAL namespaces. So the only "proprietary" part of page templates are the contents of the tal expressions. Since these are just text and applications other than Zope can simply ignore the tal namespace entirely and still have valid xhtml, then page templates are standards conforming. Whereas DTML code is not valid xhtml or xml or even sgml, nor is it required to be, so it is "proprietary" that is, contrived without conforming to established standards. So, from this definition page templates are not proprietary. -Casey On Wednesday 11 September 2002 12:16 pm, Charlie Reiman wrote:
It's kinda true. But DTML is used throughout Zope's ZMI and countless 3rd party products. In addition, DTML is a generic macro language and is useful in places ZPT can't go, such as ZSQL methods.
DTML may be depricated but it's not going away anytime soon no matter how much people would like it to.
I do wonder though, is ZPT any less proprietary than DTML?
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Josef Meile Sent: Wednesday, September 11, 2002 8:56 AM To: zope@zope.org Subject: [Zope] Re: Zope Myths?
Hi,
We've been giving some thought to the best way of informing people about Zope. An outline of the ground we plan to cover is at:
http://www.bris.ac.uk/is/projects/cms/zope/ucisa-sg/mythz.htm
It's interesting, but there is something that worries me:
Documental Template Markup Language (DTML) is now deprecated in favour of Zope Presentation Templates (ZPT). DTML, as well as being "proprietary", often lead to code that was hard to maintain. ZPT allows for a much better separation of presentation and logic (the logic being done in Python or Perl). Moreover, ZPT is XHTML compliant and can be edited with a wide range of tools.
Is it true? Does it mean that future versions of Zope won't support DTML?
Thanks, Josef
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )