Re: [Repoze-dev] Plan for repoze.zodbconn

2009-06-12 Thread Chris Rossi
On Fri, Jun 12, 2009 at 12:28 PM, Tres Seaver wrote: > > +1 from me. > > +1 from me. Also +1 for managing the transaction at this level, if feasible. Chris ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze

Re: [Repoze-dev] Plan for repoze.zodbconn

2009-06-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shane Hathaway wrote: > I have been working with repoze.zodbconn (in conjunction with repoze.bfg > and Karl 3) and there have been several times when I wish I could just > insert some WSGI component that does something with the ZODB connection. >

Re: [Repoze-dev] Plan for repoze.zodbconn

2009-06-12 Thread Chris Withers
Shane Hathaway wrote: > To make tasks like these easier, I would like to add to repoze.zodbconn > a WSGI framework component that opens a ZODB connection, puts that > connection in the WSGI environment, calls the next WSGI app in the > chain, then closes the same ZODB connection on the way out.

Re: [Repoze-dev] Plan for repoze.zodbconn

2009-06-09 Thread Chris McDonough
On 6/9/09 4:25 PM, Chris McDonough wrote: > Tres was after the same thing earlier today so I think it's a good idea. > > We could also change the PersistentApplicationFinder to look in the > environment > for an open connection and use it instead of trying to open one itself. (FTR, I didn't mean

Re: [Repoze-dev] Plan for repoze.zodbconn

2009-06-09 Thread Shane Hathaway
Chris McDonough wrote: > Tres was after the same thing earlier today so I think it's a good idea. Ok. I'm happy to let Tres do it if he wants. :-) > We could also change the PersistentApplicationFinder to look in the > environment for an open connection and use it instead of trying to open > o

Re: [Repoze-dev] Plan for repoze.zodbconn

2009-06-09 Thread Chris McDonough
Tres was after the same thing earlier today so I think it's a good idea. We could also change the PersistentApplicationFinder to look in the environment for an open connection and use it instead of trying to open one itself. On 6/9/09 4:16 PM, Shane Hathaway wrote: > Hi all, > > I have been work

[Repoze-dev] Plan for repoze.zodbconn

2009-06-09 Thread Shane Hathaway
Hi all, I have been working with repoze.zodbconn (in conjunction with repoze.bfg and Karl 3) and there have been several times when I wish I could just insert some WSGI component that does something with the ZODB connection. Specifically: - At one point I wanted repoze.who.plugins.zodb to us