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

Tim Hoffman zutesmog at gmail.com
Sun Sep 5 03:41:58 EDT 2010


HI Vincent.

I haven't looked an jinja to date. Will definately have a look at it.

I generate a lot of code (sql, gae models, storm schema, formish schema's)
from Enterprise Architect, and
currently using dtml for all non html/xml output.

 Cheers

T

On Sun, Sep 5, 2010 at 3:35 PM, Vincent Fretin <vincent.fretin at gmail.com>wrote:

> Hi,
>
> For AGX3, we started to use Jinja for the template, for example for
> the generation of setup.py, we have:
>
> version = '{{version}}'
>
> setup(name='{{project}}',
>      version=version,
>      description="{{description}}",
> ...
>
> The syntax is simpler than dtml we use in AGX2:
> <dtml-var "description">
>
> Vincent
>
>
> On Sun, Sep 5, 2010 at 5:13 AM, Tim Hoffman <zutesmog at gmail.com> wrote:
> > 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 ;-)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20100905/559c37d7/attachment-0001.html 


More information about the Zope-Dev mailing list