[Zope-dev] DTML is dead, long live DTML ;-)

Florian Friesdorf flo at chaoflow.net
Sat Sep 4 21:11:31 EDT 2010


On Sun, Sep 05, 2010 at 08:49:39AM +0800, Tim Hoffman wrote:
> >
> >
> >>
> > Please note that DTML is a dead (and horrid) technology.
> >
> > Martin
> >
> 
> But zpt is horrible for doing non html/xml based things ;-), What do you
> think is good alternative in the zope eco system now
> for templating other types of things (sql, python ...) ?

I would use a templating system for things that are easy to template
(html/xml) and where more complex logic can be offloaded to a real
programming language like python (as zpt does).

Using a templating system for a programming language is I think a
different programming paradigm than zope's component architecture and
contrary to code reusage. With code generators like ArchGenXML or agx
you are able to create models for your software on a more abstract level
than based on templating, so I would not use templating but model-based
code generation instead.


florian

-- 
Florian Friesdorf <flo at chaoflow.net>
  GPG FPR: EA5C F2B4 FBBB BA65 3DCD  E8ED 82A1 6522 4A1F 4367
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20100905/863cfd36/attachment.bin 


More information about the Zope-Dev mailing list