[Zope-dev] multiple database connections

kapil thangavelu kthangavelu@earthlink.net
Thu, 7 Mar 2002 03:28:28 -0800


On Thursday 07 March 2002 02:34 am, you wrote:
> Hi,
>
>
> So my question is : why the hell can't developpers create ZSQL methods as
> they see fit, and be allowed to type-in the name of a possibly
> not-yet-existing Database Connection ? After all, creating ZSQL methods
> isn't for end users, so maybe Zope could trust developpers in knowing
> exactly what they want to do...
>

part of this goes back to the old who is zope's target audience days, when 
content managers were supposed to use the zmi directly. plus its just 
generally less confusion, imo.

that said, zope doesn't stop a *developer* from doing it themselves. ie, you 
can very easily call the factory method directly passing a connection id from 
a python script, or directly instantiate the zsql method in the product. 


kapil