
On Tue, 2002-04-30 at 04:47, Itamar Shtull-Trauring wrote:
Itamar Shtull-Trauring wrote:
At some point I might try to do it. The main issue is how to deal with expressions that returns Deferreds. The options are:
And BTW, domtemplate's lack of Deferred support is also problematic. The Web As We Know It is a big database front end, mostly. And database calls block.
I'm thinking we should have a threaded web server for cases where the backend is ZODB or RDBMS only, and just access the database directly, without using twisted.enterprises.
Certainly. At this point it's still in development, but I think that DOMtemplate could be modified to support Deferreds pretty easily (after all, it's almost like WebWidgets, except instead of returning lists of Deferreds and strings, it returns lists of Deferreds and Nodes). I may even get around to doing this :-). As far as threading goes -- we need a threadsafe version of web.Request, and a way to dispatch requests in an MT way, yes, I agree. The fact that this is inefficient should be offset by the fact that every other web-app framework in the world is at least 3x less efficient than _that_ :) -- | <`'> | Glyph Lefkowitz: Travelling Sorcerer | | < _/ > | Lead Developer, the Twisted project | | < ___/ > | http://www.twistedmatrix.com |