Pi.Comet works with Turbogears as well Date: April 2, 2008 Tags: cherrypy , comet , javascript , pi , turbogears Comments(2)
After a CherryPy test, I developed a real time chat example with pi.comet&Turbogears.Actually, I was going to add this example long time ago but I couldn't find any shared hostings available. Data streaming can not be used at Webfaction, because webfaction hosts turbogears with cgi support. If you have no hosting problems, you can use pi.comet and turbogears with your comet applications.For now, you can download and test it on your localhost.Download Example:turbogears_realtimeChat.tar.gz
Screenshot:
Comments:
Stone — May 25, 2008
Great example. This is what i've been looking for. I've tried numerious examples and none of them works. Thanks a lot.

I've used <a href="http://www.orbited.org">orbited</a> before, but am interested in your example in order to <a href="http://developer.yahoo.com/performance/rules.html#flush">flush html early</a>. Could you elaborate on how <code>sys.stdout.flush()</code> works with CherryPy?