[Zope3-Users] Using zope.component outside Zope 3-how to
bootstrap the registries
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Mar 8 14:46:11 EST 2007
On Friday 16 February 2007 08:15, Andreas Jung wrote:
> I am trying to use zope.component (Zope3 3.0) within a Python module
> (not running the whole Zope 3 boilerplate). I want to register a utility.
> What is the correct way to setup the registries (in particular the Utility
> registry) in order to register utilities?
No need to setup any registries. Just use the zope.component API, for example:
provideUtility()
provideAdapter()
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-users
mailing list