[Twisted-web] database best practices

Martin Bright Martin.Bright at casero.com
Tue Nov 25 00:28:21 EST 2008


What is the best way to implement synchronous DB access in a twisted applic=
ation?  I've read about defer.deferredGenerator, and various threads about =
how it's a stupid idea to even attempt this. Do I have restructure my code =
such that everything that depends on results from a database query is in a =
callback to a deferred object?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20081125/2b=

More information about the Twisted-web mailing list