[Zope-CMF] Re: CMF and Five views: hooking up "POST"

Dieter Maurer dieter at handshake.de
Wed Oct 19 15:45:09 EDT 2005


yuppie wrote at 2005-10-17 15:24 +0200:
> ...
>I don't think so:
>
>1.) If you start rendering the default view before the controller has 
>finished you need extra code to abort the rendering if necessary. E.g. a 
>tal:condition that wraps the whole template.
>
>2.) A cleaner separation of controller calls and view rendering makes 
>the code simpler and therefore easier to write and maintain.
>
>3.) Rendering useless views wastes resources.

"CMFFormController" does a nice job in this respect.

-- 
Dieter


More information about the Zope-CMF mailing list