On Wednesday 08 May 2002 14:54, Adrian Hungate wrote:
Given the strengths of DTML I still maintain that ZPT is no (yet?) a complete replacement, and given the comfortable, familiar syntax, I doubt that it should ever replace DTML completely, even if most pages are ZPT. I would be very supprised (Not to mention impressed) if by 2.6 ZPT can comfortably replace every aspect of DTML without having to employ Python scripts, or some arcane incantations.
Isn't that one of the points of using ZPT instead of DTML? You are able to do far too much in DTML; a somewhat peculiar strength of ZPT is that you are not able to do so much, so you'll have to refactor and put functionality in python scripts thus separating content and functionality.
Don't get me wrong, ZPT is likely to be a very useful supliment to the existing Zope tools, but I would no more suggest replacing Python Scripts, than DTML.
DTML is great for style sheets, javascript and such where you cannot use ZPT and python scripts would be too ugly to use ;-) -- Regards, Thomas Olsen