[Zope3-dev] Re: [Zope3-Users] Using Zope3 components outside Zope

Chris Withers chris at simplistix.co.uk
Wed May 16 03:35:08 EDT 2007


Andrew Groom wrote:
> Thanks for your reply. I have seen references on how to set up adapters 
> in code, but I was trying avoid having to duplicate things that have 
> already been defined in zcml. However, if there's no other way around 
> it, then that's what I'll have to do.

Well, you could always install zope.configuration as well and then just 
use the zcml, but provideAdapter is pretty lightweight and is what the 
zcml stuff ends up calling under the hood anyway...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope3-dev mailing list