[EMAIL PROTECTED] wrote: > I've spent some time experimenting with Nevow's LivePage (aka LiveEvil) > fuctionality that allows the server to "send" events to the web page. > It seems to do this by doing an AJAX-style request to the server, and > then the server doesn't send any data back until either the request > times out or an event occurs. This allows for some really nifty hacks > to be done, like monitoring the progress of a server-side task without > having to poll continuously. > > Does Django have similar functionality (preferably with examples)? Is > there a good way to hack it in? > >
Hi. This functionality (afaict) in twisted relies on the twisted non-blocking continuation passing server being used to handle all requests. We don't demand such a strict deployment strategy in django, so it would be extremely hard to offer this kind of functionality without adversely affecting other deployment options - eg mod_python, which is probably the most popular one atm. It might be possible to do it as an add on, eg if you are hosting inside twisted.