[Zope-CMF] Re: CMF and Five views: hooking up "POST"
Lennart Regebro
regebro at gmail.com
Mon Oct 17 08:53:51 EDT 2005
On 10/17/05, yuppie <y.2005- at wcm-solutions.de> wrote:
> I know that pattern, but I don't like it. [...]
> The code on the goldegg-folder_contents branch processes the input in
> the __call__ method of the view class. The template is only invoked if
> needed. It's much cleaner to use the template just for displaying
> results, not for triggering controllers.
That's purely a matter of taste. From a principal standpoint I don't
think there is any difference, really.
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
More information about the Zope-CMF
mailing list