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

Kapil Thangavelu kapil.foss at gmail.com
Thu Apr 10 16:49:55 EDT 2008


On Thu, Apr 10, 2008 at 1:31 PM, Andreas Jung <lists at zopyx.com> wrote:

>
>
> --On 10. April 2008 19:10:49 +0200 Brian Sutherland <
> brian at vanguardistas.net> wrote:
>
>
>
> > Just adding my few requirements:
> >    - Integration into the component architecture in such a way that I
> >      can specify the db connection parameters in ZCML and that database
> >      reflection still works. I want to be able to get a handle on
> > SQLAlchemy       things by calling getUtility.
> >
>
> Please *NO* database specific configurations within ZCML. We're running
> applications in up three or four different environments and I don't want to
> maintain instance specific configurations within ZCML. Either we pass
> such informations through environment variables or the database
> connections parameters are read from a configuration within the instance
> configuration.
>


i still don't see the harm having zcml db conf  in a base package, if you
don't have to use it to setup your particular deployment's connections.

-kapil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20080410/9197ce1c/attachment.htm


More information about the Zope-Dev mailing list