* Drake Smith <[EMAIL PROTECTED]> [2005-12-17 08:08:40 -0500]:

> I use Twisted Web on an embedded Linux device to provide browser-based 
> configuration & control. The browser displays a bar graph of a parameter 
> that is quickly changing on the embedded device (peak audio level). In 
> order to provide a reasonable feedback to the user, the browser connects to 
> the Twisted Web CGI server once a second via XMLHTTPRequest to obtain an 
> updated bar graph level, then Twisted Web dutifully closes the connection. 
> Is there a way to achieve the same thing without opening & closing a 
> connection each time?

Yes. The easiest way would be to use something like nevow.athena, which
takes care of the XHR connection for you, allowing you to concentrate on
the higher-level communication between browser and server.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to