[Zope-dev] Proposal: zope.app.publisher refactoring
Roger Ineichen
dev at projekt01.ch
Mon Aug 24 16:55:35 EDT 2009
Hi Dan
> Betreff: Re: [Zope-dev] Proposal: zope.app.publisher refactoring
>
> 2009/8/22 Michael Howitz <mh at gocept.com>:
> > Am 21.08.2009 um 21:06 schrieb Dan Korostelev:
> > [...]
> >>
> >> ILogin, ILogout from zope.app.publisher.interfaces.http -
> looks like
> >> these don't really mean anything and are used only in
> >> zope.app.security. I'd move them to zope.app.security even without
> >> BBB imports (not to make zope.app.publisher dependent on
> >> zope.app.security), but maybe I just don't know something
> about them?
> >> :)
> >
> > z3c.layer.pagelet also uses these interfaces to re-implement
> > login/logout like zope.app.security but by using pagelets
> and viewlets.
> > So it would be nice to have a better place for these interfaces, so
> > z3c.layer.pagelet does not need to depend on zope.app.security.
>
> Are these interfaces used for anything else than just
> declaring them as implemented? :-) I don't see much sense in
> them, because they are too abstract and it's hard to
> understand what they are for, so I'd get just rid of them in
> z3c.layer.pegelet.
Everything which has to do with login has nothing to do
in z3c.layer.pagelet.
z3c.layer.pagelet should only offer a working setup for
pagelet based traversal stuff and error handling.
Regards
Roger ineichen
> --
> WBR, Dan Korostelev
> _______________________________________________
> Zope-Dev maillist - Zope-Dev at 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 )
>
More information about the Zope-Dev
mailing list