[Zope-CMF] Re: Add forms and menus

yuppie y.2008 at wcm-solutions.de
Tue Jul 15 07:25:58 EDT 2008


Robert Niederreiter wrote:
>> Your proposal has some advantages. On the other hand this requires to 
>> create CMF specific code and patterns in a place where a more generic 
>> solution also works.
> 
> it does not if you call a formfactory inside the traverser, so it's
> hoohable for CMF, Plone or whatever even with different formlib
> implementations.
> 
> like:
> 
> formfactory = getAdapter(context,
>                          IFormFactory,
>                          name='factoryNameFromFti')
> return factory()
> 
> which handles all the magic in there. just a thought.

Writing generic code is just the first step. Pushing this down the stack 
and making it the default pattern for Zope is much harder.

Cheers, Yuppie



More information about the Zope-CMF mailing list