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

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Dec 28 22:15:15 EST 2005


On Wednesday 28 December 2005 18:35, Terry Hancock wrote:
> <span tal:condition="python: i % 5 = 3">
> </span>
>
> for something that should occur in "every 5 repeats" of
> something.

If you are not using view classes for something like this, it is your own 
loss.

> There's no way that sort of things should be considered
> "business logic" -- it's just pagination or color bars or
> some such thing.

It is not. But view class logic is not or should not be business logic.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list