[Zope] Re: Output only the first or a particular record using TAL

Chris Withers chris at simplistix.co.uk
Thu Sep 29 03:10:46 EDT 2005


Julian Yap wrote:
> Another query I had was on the practice of using control flow
> (ie. if, for, etc.. statements).  I guess the best way is to
> keep your control flow in Python scripts?  Is this the common practise?

Well, it seems to be that a little bit of python in a tal:condition is 
quite common, but if it gets more than that then yeah, probably move the 
logic out to a Script (Python)...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope mailing list