[Zope-dev] Re: straighting out the SQLAlchemy integration mess

Martijn Faassen faassen at startifact.com
Fri Apr 11 08:41:15 EDT 2008


Brian Sutherland wrote:
[snip]
> Unfortunately, it doesn't seem an option, right now, to avoid using ZCML
> to setup database connections. So I'm not sure how you want to implement
> your ideas?

collective.lead can do it without ZCML; you set up the right connection 
by implementing a 'url' property on a (global) utility. This to me seems 
to be flexible, as the code could get the connection from anywhere.

Regards,

Martijn



More information about the Zope-Dev mailing list