Am Donnerstag, den 11.12.2008, 17:13 +0100 schrieb Roger Ineichen:
> I just moved the zope.app.form.interfaces.ITerms interface
> to this package. Which makes it possible to implement ISource
> and their widgets in z3c.form wihtout to depend on zope.app.browser.
> (zagy branch in z3c.form)
> I didn't see any other (browser) interface which should go to
> this package because of real dependency problems yet. But sure
> if you see something which can solve problems, feel free
> to move interfaces, dependency less components or helper
> methods to this package.
We have written browser helper tools in a package named
cornerstone.browser. especially IRequestMixin here
might be a candidate for this or such a component.
We use it most of the time as mixin for browser views, content
providers, menu items and everything else which has to deal with
application state data, urls and queries.
For IRequestMixin the implementation is almost finished (one function
and some testing left - see base.py and base.txt if you're interested
in), and for the pointed usecases there are convenience implementations.
It would be great to see this or something like this in zope.browser
package, dealing with request data and url's is almost every day's
business and always more code than i could be.
> I think everything which goes to zope.browser must take
> very care on dependencies.
> I guess one important rule should be, zope.browser
> should depend on anything. Probably an exception
> whould be zope.schema, zope.messageid.
> Any other ideas?
> Roger Ineichen
> > Regards.
> > Martijn
> > _______________________________________________
> > Zope-Dev maillist - Zope-Dev@zope.org
> > http://mail.zope.org/mailman/listinfo/zope-dev
> > ** No cross posts or HTML encoding! ** (Related lists -
> > http://mail.zope.org/mailman/listinfo/zope-announce
> > http://mail.zope.org/mailman/listinfo/zope )
> Zope-Dev maillist - Zope-Dev@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope )
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -