[Zope] cookies
Chris Petrilli
petrilli@digicool.com
Thu, 3 Jun 1999 17:54:12 -0400
> Just curious though. Why is Zope implemented as single line tag
> statements whereas other web scripting languages such as Java,
> javascript, PHP3 etc span multiple lines?
The biggest reason is actually that we believe entirely in seperating
out logic from presentation, which PHP3/etc do not. THe DTML tags are
MARKUP tags for formatting (a'la a reporting language) and should not be
used for any more logic than you have to. This should be moved either
to a DTML Method, an External Method, or eventually ZClasses/etc.
More than a few lines gets very ugly very fast.
Chris