[Zope-dev] Proposal: zope.app.publisher refactoring

Dan Korostelev nadako at gmail.com
Mon Aug 24 13:02:43 EDT 2009


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.

-- 
WBR, Dan Korostelev


More information about the Zope-Dev mailing list