[Zope] Re: using a ZODB standalone app with Zope

Tres Seaver tseaver at zope.com
Fri Feb 18 10:12:01 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan Hobbs wrote:
| ----- Original Message -----
| From: "Istvan Albert" <ialbert at mailblocks.com>
| To: <zope at zope.org>
| Sent: February 18, 2005 8:43 AM
| Subject: [Zope] Re: using a ZODB standalone app with Zope
|
|
|
|>Chris Withers wrote:
|>
|>
|>>>In a python script how would I go about fetching the root
|>>>of the database that is used by Zope.
|>
|>>container.getPhysicalRoot()
|>>
|>>...but it sounds like you're after something else, what are you trying
|>>to do?
|>
|>Thanks, I think that will work.
|>
|>Instead of using two separate ZODB databases (one for my data and
|>one implicitly used by Zope) I was aiming at store my data in the Zope
|>database as well.
|
|
| Have you looked at the DBTab product which allows you to mount multiple
| ZODBs (ie. one for code, one for data)?  This works nicely for us.

Note that the DBTab product is superseded in Zope 2.7.x by equivalent
functionality built into Zope itself ("mounting" separate storages is
done inside zope.conf).

Tres.
- --
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCFgXAGqWXf00rNCgRAnhsAKCiSmJgIp4UXJnWMJL5izL4QX2bVQCcDErS
fAN+YMum2DPNUIC4qRr4mPM=
=sQIp
-----END PGP SIGNATURE-----



More information about the Zope mailing list