[Zope3-dev] Zope 3 without ZODB

Sidnei da Silva sidnei at enfoldsystems.com
Sun Jan 21 16:32:04 EST 2007


On 1/21/07, Jim Fulton <jim at zope.com> wrote:
> Alan Runyan and Sidnei Da Silva created one of the earliest Zope 3
> applications using SQL Objects. I don't remember the name of their
> application or what it's status is.  Maybe they'll chime in or you
> can ask them.

That was the SIP (Sample Inventory Application). It's available from
here: http://sourceforge.net/projects/sampleinventory. It gave life to
'sqlos' (http://codespeak.net/z3/sqlos/), which is a bridge between
Zope 3 and SQLObject. Namely, it provides some custom adapters for
implementing folderish views into a database and coordinates the
SQLObject transaction with the default Transaction Manager in Zope 3.

It actually used the ZODB just to store a root object that was
persistent and implemented a dummy interface, so that we could
register a custom traverser and then delegate to the application from
there. Since the root object was dummy, the ZODB could be easily
thrown away.

Then there is a second one called Snap, which is available from the
cheeseshop (http://cheeseshop.python.org/pypi/snap/0.5). This one uses
most of the approaches discussed here (abusing the 'db' argument,
registering a custom publisher), except using a different 'main'
script. It also uses zope.paste
(http://cheeseshop.python.org/pypi/zope.paste) so that the application
could be configured with Paste.

-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


More information about the Zope3-dev mailing list