On 22 June 2011 23:13, Bruce Wade <[email protected]> wrote:
> I have used Mako with pylons, now I am trying to rap my head around
> chameleon for pyramid. How do we keep our templates DRY using chameleon?
> Does it support template inheritance? (Where you can have a base file and
> just include it into the other template files)

Yes.

ZPT (the language) includes a set of attributes to define and use
macros – these are together known as METAL.

See:

  http://chameleon.repoze.org/docs/latest/reference.html#metal

This system works well –– Plone uses it extensively.

It would be nice to have an introduction that goes beyond this
reference. It might be out there – somewhere on the internet.

\malthe

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to