Please keep it on the list... Kepes Krisztian wrote:
Hello Peter Sabaini !
Wednesday, November 26, 2003, 11:57:02 AM, you wrote:
PS> Kepes Krisztian wrote:
Hi !
I want to create an web application, but I want to get information, how to create that, and what system I use...
1.) Can I create persistent db connection under ZOPE ? I don't want to drop the db connection, because the connect to InterBase is very slow...
Can I do that, or I must create a my owned connection tcp server, and interface to use this thing (like php ibase_pconnect) ?
PS> Yes you can. See eg. the Zope book: PS> http://zope.org/Documentation/Books/ZopeBook/2_6Edition PS> theres a whole chapter dedicated to RDBMS connectivity
Ok, I read that, but this thing I cannot see. Possible I miss that, but I don't see any text what say about this capability.
Chap. 18 describes Zope Database Adapters which do what you want. The Zope book doesn't explicitly say so, but Database Adapters usually do keep a persistent connection -- which database do you want to connect to?