[Zope-CMF] ZPT in CMF

seb bacon seb@jamkit.com
Mon, 3 Dec 2001 11:05:11 +0000


* Tim Hoffman <timhoffman@cams.wa.gov.au> [011203 03:02]:
> We have moved almost all our CMF development to ZPT/CMFDecor and 
> definately see the benefit's. It is certainly worth the effort to learn 
> the new "lingo".

I'd love a really good explanation of why ZPT is so good.  I've spent
enough time on it to be able to read and understand CMFDecor, etc, but
I still haven't moved to it myself.  

Here's my doubts: 

- It's hard to read.  This may be just due to familiarity, but it
  seems to me that many very simply constructs now take several lines
  when they used to take one.  People on the ZPT list are still having
  problems solving a number of common idioms.  Batching looks *really*
  ugly, for example.

- OK, it forces you into separating out your business logic, but
  that's not a recommendation for it in itself.

- The thing I got excited about was the possibility for designers to
  edit pages containing ZPT logic, but in fact this is not really
  practical, in particular with respect to macros.

ZPT enthusiasts, I'm sure I'm wrong, please explain :)

seb