On Fri, Jun 12, 2009 at 2:55 PM, Tres Seaver<tsea...@palladion.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Forgot to CC the list. > > - -------- Original Message -------- > Subject: Re: [Repoze-dev] Plan for repoze.zodbconn > Date: Fri, 12 Jun 2009 13:48:40 -0400 > From: Tres Seaver <tsea...@palladion.com> > To: Chris Rossi <ch...@archimedeanco.com> > References: <4a2ec333.5020...@hathawaymix.org> > <4a328239.9000...@palladion.com> > <60bf02c00906120936n2ea38495xd9a2393191458...@mail.gmail.com> > > Chris Rossi wrote: >> On Fri, Jun 12, 2009 at 12:28 PM, Tres Seaver <tsea...@palladion.com> wrote: >> >>> +1 from me. >>> >>> >> +1 from me. Also +1 for managing the transaction at this level, if >> feasible. > > I think I'd rather leave the transaction handling to repoze.tm{,2}: for > instance, it might be that an app which only used repoze.who didn't need > any transaction management at all, whereas other apps might need to > coordinate the transaction at different points. >
+1 for letting repoze.tm{,2} handle transactions. I think that's a pretty good pattern for transactional apps (relational or not) to expose their connection through the environ and have repoze.tm to do the transaction dance. -Fernando _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev