The idea seems interesting. We should think about the implications.
Factoring the transactions handling out of the tg core is one of the
improvements of tg2.
But to get this refactoring moving we would need to have an easy to
install tg1transaction manager. I am wondering if we could not use
remoze.tm in tg 1.5 since CP3 is wsgi compliant... This would make us
even more close to tg2.
I'll need to think about this after tonight releases :)
Florent.
An alternative would be to make repoze.tm into a cp3 tool. This in
some ways would be the best of all worlds, because it would allow for
1.5 code to use the same API as tg2 for managing transactions in
controllers ( eg, killing a transaction with transaction.doom() ) and
would take advantage of the the performance and flexibility that CP3
tools provide.
+1 on that idea from a users perspective. Seems the most like putting
the right tool in the right place.
Iain
> > > install tg1transaction manager. I am wondering if we could not use
> > > remoze.tm in tg 1.5 since CP3 is wsgi compliant... This would make us
> > > even more close to tg2.
> >
> +1 on that idea from a users perspective. Seems the most like putting
> the right tool in the right place.
Ok, we all agree that using repoze.tm with CP3 would be the best :)
Who volunteers to do the job then ?
Florent.
On Aug 24, 2008, at 5:07 PM, "Florent Aide" <floren...@gmail.com>
wrote:
I think that what Mark tried to say was that we should use
'transaction' but reimplement repoze.tm2 as a CP tool for performance.
I'm +1 on any solution that uses transaction + zope.sqlalchemy since
it's what tg2 is using already.
Alberto