[Zope3-dev] Re: RFC: abolishing python: expressions in ZPT TALES

Florent Guillaume fg at nuxeo.com
Thu Dec 29 05:39:13 EST 2005


Rocky Burt wrote:
> Its my personal opinion that anytime a page template requires logic
> complicated enough to warrant using a 'python:' expression, that logic
> should be re-thought and placed into a view class.  I know that some
> python: expressions are fairly simple, but for an HTML designer, *any*
> python: portions are dangerous to touch (and shouldn't be touched by the
> HTML designer).

-1

At least not until TALES has a way to do:
- basic boolean logic (foo or bar, foo and not bar, ...)
- basic sequence indexing (foo[1])

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope3-dev mailing list