Re: DTML is dead, long live DTML ;-)
Vincent Fretin <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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 ;-)
_______________________________________________
Zope-Dev maillist - [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )