On 1/21/07, Jim Fulton <[EMAIL PROTECTED]> 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 _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com