+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?


Open Minds' Open Solutions
#2591 Dallas Parkway
Suite 408
Frisco TX, 75034
214-618-9880 (O)
214-975-1258 (F)
214-733-3467 (M)

Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to