[Zope3-dev] Re: tal:define="..." considered harmful?
Tonico Strasser
contact_tonico at yahoo.de
Mon Feb 13 07:56:06 EST 2006
(Again with the right quote, sorry.)
Jean-Marc Orliaguet wrote:
> That's exactly what I'm saying: if templates did not try to create their
> own data layer, the 'li_repeat' macro could get the data from the model
> (instead it has to rely on cross-template communication)
>
> that's an anti-pattern which is the consequence of having introduced
> tal:define. :-)
Hm. How else would you use the _same_ macro with different names in the
same template?
Tonico
More information about the Zope3-dev
mailing list