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

sathya sathya at zeomega.com
Thu Dec 29 00:30:33 EST 2005


+1 a very sensible thought.  viewing TAL and python code together makes 
me squint eyed some times. Programmers have the tendency to go overboard 
with python expressions and prevention is better than cure.
Rocky Burt wrote:

>Hi all,
>
>Please don't mistake this as a proposal or anything of the sort but I
>was just curious what the rest of the zope3 community thought on this
>particular topic.  (Please forgive me if this topic has been exhaused to
>death already)
>
>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).
>
>What do you all think?
>
>Regards,
>Rocky
>
>
>  
>


-- 
=========================
ZeOmega
Open Minds' Open Solutions
#2591 Dallas Parkway
Suite 408
Frisco TX, 75034
214-618-9880 (O)
214-975-1258 (F)
214-733-3467 (M)
http://www.zeomega.com
==========================




More information about the Zope3-dev mailing list