[Zope-dev] DTML is dead, long live DTML ;-)
    Vincent Fretin 
    vincent.fretin at gmail.com
       
    Sun Sep  5 03:35:00 EDT 2010
    
    
  
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 ;-)
    
    
More information about the Zope-Dev
mailing list