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

Tim Hoffman zutesmog at gmail.com
Sat Sep 4 23:13:05 EDT 2010


Hi Florian

I use a model based generation approach (from enterprise architect) however
even archgenxml has templates for large amounts of  boiler plate under the
hood.

Have you actually looked at the src of archgenxml, if you did you will
notices it uses dtml for templating the code output ;-)

T

On Sun, Sep 5, 2010 at 9:11 AM, Florian Friesdorf <flo at chaoflow.net> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20100905/19fca4c3/attachment.html 


More information about the Zope-Dev mailing list