[Zope] dtml-lesson learned... (DTML v ZPT)

Mike Renfro renfro@tntech.edu
Wed, 21 Aug 2002 10:16:09 -0500


On Wed, Aug 21, 2002 at 10:06:46AM +0800, Tim Hoffman wrote:

> I find with pagetemplates that if you have large chunks of
> Javascript, that need to be dynamically modified that pagetemplates
> requirement to validate the page becomes a pain. You get situations
> within Javascript where to get the page to compile, you have to do
> really ugly hacks, which quickly become even more unreadable than
> dtml

Out of curiosity, is this pain at all reduced if you put the
Javascript in some other page and refer to it from your templates? Or
is Javascript not similar enough to valid xml in general?

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu