Re: [Zope-dev] Zope 3 without ZODB
Kapil Thangavelu wrote: try ore.wsgiapp in pypi, you provide a root utility and traversal begins from there, the zodb is never opened. the default publication looks up the app root via utility and traversal continues from there. i've been using it successfully for a number of relational apps without the zodb. Thanks, Kapil. I spent a day on it, and never got past error pages. Maybe my problem was starting with a zopeproject. Anyway, it got me to take a good look at pylons, which I think is a better match for web development without ZODB. I found I can still use adapters and utilities by using zope.component and zope.interface. :) zif.sedna (newly beta2 in pypi) now has instructions for using its zope3 database adapter with repoze.tm in pylons. - Jim Washington ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 3 without ZODB
2008/2/15, Jim Washington [EMAIL PROTECTED]: Kapil Thangavelu wrote: try ore.wsgiapp in pypi, you provide a root utility and traversal begins from there, the zodb is never opened. the default publication looks up the app root via utility and traversal continues from there. i've been using it successfully for a number of relational apps without the zodb. Thanks, Kapil. I spent a day on it, and never got past error pages. Maybe my problem was starting with a zopeproject. Anyway, it got me to take a good look at pylons, which I think is a better match for web development without ZODB. I found I can still use adapters and utilities by using zope.component and zope.interface. :) Anyone know if there is any chance to use existing zcml declarations for this use case ? Is it possible to load a site.zcml in other python apps ? I'm using pylons too and i really like to use some zope.* packages with it (events, formlib, etc.). Doing this kind of things will show the power of zope3 packages to the world ! zif.sedna (newly beta2 in pypi) now has instructions for using its zope3 database adapter with repoze.tm in pylons. - Jim Washington ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 3 without ZODB
Cool Jim. Will take a look and read. This is what the wonderful world of packages and wsgi is all about :-). I am also going to check out Kapil's solution for some other things. I am pretty comfortable with the zope's publisher and configuration. Regards, David Jim Washington wrote: Kapil Thangavelu wrote: try ore.wsgiapp in pypi, you provide a root utility and traversal begins from there, the zodb is never opened. the default publication looks up the app root via utility and traversal continues from there. i've been using it successfully for a number of relational apps without the zodb. Thanks, Kapil. I spent a day on it, and never got past error pages. Maybe my problem was starting with a zopeproject. Anyway, it got me to take a good look at pylons, which I think is a better match for web development without ZODB. I found I can still use adapters and utilities by using zope.component and zope.interface. :) zif.sedna (newly beta2 in pypi) now has instructions for using its zope3 database adapter with repoze.tm in pylons. - Jim Washington ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 3 without ZODB
Hi Kapil. Hoping to take a look at this before long. Many thanks for pointing out this package. Regards, David Kapil Thangavelu wrote: try ore.wsgiapp in pypi, you provide a root utility and traversal begins from there, the zodb is never opened. the default publication looks up the app root via utility and traversal continues from there. i've been using it successfully for a number of relational apps without the zodb. hth, kapil On Jan 15, 2008 1:27 PM, Jim Washington [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: David Pratt wrote: Hi Chris. I was scanning the lists looking for posts similar to this. Were you successful in getting something like this to work? Anyone else document anything like this? I wrote a different main.py at some point about a year or so ago so both twisted clients and servers to could be started up using schemas for zconfig but am looking at possibilities without and with other non ZODB backends. I see Philip provided some clues for a mixin that could be used to glue the publisher's traversal mechanism together with an alternative storage. Many thanks. Regards, David I, too, am interested in this. I'm taking a hard look at Sedna, http://modis.ispras.ru/sedna/ , a multi-user XML database, which seems to fit my brain and my current xml-ish bent a bit better than ZODB or rdb. The python modules advertised don't work reliably enough for me, though I have hacked together a protocol module that works to my satisfaction so far. If anyone wants to play with it, I'll throw it into the zif collective on Sourceforge. I'm thinking it may be possible to do an elementtree (with full XPath!) interface to Sedna. Anyway, Chris, any pointers on interfaces and configuration would be very much appreciated. -Jim Washington ___ Zope-Dev maillist - Zope-Dev@zope.org mailto:Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 3 without ZODB
try ore.wsgiapp in pypi, you provide a root utility and traversal begins from there, the zodb is never opened. the default publication looks up the app root via utility and traversal continues from there. i've been using it successfully for a number of relational apps without the zodb. hth, kapil On Jan 15, 2008 1:27 PM, Jim Washington [EMAIL PROTECTED] wrote: David Pratt wrote: Hi Chris. I was scanning the lists looking for posts similar to this. Were you successful in getting something like this to work? Anyone else document anything like this? I wrote a different main.py at some point about a year or so ago so both twisted clients and servers to could be started up using schemas for zconfig but am looking at possibilities without and with other non ZODB backends. I see Philip provided some clues for a mixin that could be used to glue the publisher's traversal mechanism together with an alternative storage. Many thanks. Regards, David I, too, am interested in this. I'm taking a hard look at Sedna, http://modis.ispras.ru/sedna/ , a multi-user XML database, which seems to fit my brain and my current xml-ish bent a bit better than ZODB or rdb. The python modules advertised don't work reliably enough for me, though I have hacked together a protocol module that works to my satisfaction so far. If anyone wants to play with it, I'll throw it into the zif collective on Sourceforge. I'm thinking it may be possible to do an elementtree (with full XPath!) interface to Sedna. Anyway, Chris, any pointers on interfaces and configuration would be very much appreciated. -Jim Washington ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 3 without ZODB
David Pratt wrote: Hi Chris. I was scanning the lists looking for posts similar to this. Were you successful in getting something like this to work? Anyone else document anything like this? I wrote a different main.py at some point about a year or so ago so both twisted clients and servers to could be started up using schemas for zconfig but am looking at possibilities without and with other non ZODB backends. I see Philip provided some clues for a mixin that could be used to glue the publisher's traversal mechanism together with an alternative storage. Many thanks. Regards, David I, too, am interested in this. I'm taking a hard look at Sedna, http://modis.ispras.ru/sedna/ , a multi-user XML database, which seems to fit my brain and my current xml-ish bent a bit better than ZODB or rdb. The python modules advertised don't work reliably enough for me, though I have hacked together a protocol module that works to my satisfaction so far. If anyone wants to play with it, I'll throw it into the zif collective on Sourceforge. I'm thinking it may be possible to do an elementtree (with full XPath!) interface to Sedna. Anyway, Chris, any pointers on interfaces and configuration would be very much appreciated. -Jim Washington ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )