[Zope3-dev] Principal Folder How-To
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sun Feb 20 19:04:43 EST 2005
On Sunday 20 February 2005 16:38, Roger Ineichen wrote:
> > Make sure you register the PAU as providing IAuthentication (it's a
> > number of interfaces down in the list, so not obvious that you must
> > choose it).
>
> Can you tell me why we offer more the one (the right) inteface?
> Is there a use case for to register a utility providing another interface
> then the interface which was the utility developed for?
We simply do not know which interface is providing a utility. So we offer all
utilities that a particular component provides. The solution to this problem
would be to create an interface type called IUtilityType and make all utility
interfaces provide this interface. This is basically the same we did for
content types.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-dev
mailing list