Thanks! I think I will try SockJS. My main concern with Socket.io is that it does not seem to be well maintained and the documentation is not very good. If there is any other alternative, please feel free to list here.
On Wednesday, May 2, 2012 10:28:29 PM UTC-4, Anthony wrote: > > Looks like you could also go with SockJS and sockjs-tornado ( > https://github.com/MrJoes/sockjs-tornado). There's also an initial > sockjs-gevent library (https://github.com/sdiehl/sockjs-gevent). > > Anthony > > On Wednesday, May 2, 2012 10:19:24 PM UTC-4, Anthony wrote: >> >> if I understand gevent-socketio ( >>> https://github.com/abourget/gevent-socketio) correctly, it is the same >>> idea as Tornadio except that it replaces Tornado with Gevent. Is there any >>> alternative that does not utilize Socket.io? If not, is there any working >>> code making Socket.io (ver. 0.7 or higher) works with web2py? So far, it >>> seems that no such working example exists for web2py, and the only attempt >>> (using Tornadio and Tornadio2) I've found failed. >>> >> >> Well, according to the docs, gevent-socketio works with Socket.IO 0.7. >> It's made to work with WSGI frameworks, so I assume could work with web2py. >> Note, gevent is one of the server options in web2py's anyserver.py file: >> http://code.google.com/p/web2py/source/browse/anyserver.py#86. I haven't >> seen any code examples specifically for web2py, so I suppose you'll have to >> figure it out based on the gevent-socketio docs and examples. If you get it >> working, report back (maybe post a slice: www.web2pyslices.com). >> >> Anthony >> >

