4 ms·
This is the most useful HTML5 feature for me yet. I used it for the web interface for the telepresence robot I and my friend built. Can't wait to try out iOS Sa
by samratjp 16y ago
This is the most useful HTML5 feature for me yet. I used it for the web interface for the telepresence robot I and my friend built. Can't wait to try out iOS Safari's accelerometer support.
- FooBarWidget 16y agoNow if only the majority of people use a browser that supports Websockets maybe it'll become actually useful.
- jackowayed 16y agoThat's why Socket.IO is great: http://socket.io/ http://socket.io/ It gives you the same API as you'd want from a websockets library, but it will fall back to Flash Sockets, long polling, etc. if websockets aren't available. It was originally written for node, but there's a Python implementation now too.
- Jach 16y agoThanks a lot for that, I was going to start writing my own version next week for a new project. I looked on the page and Googled a bit, but I couldn't find the Python implementation. Do you have a link for that?
- jackowayed 16y agohttps://github.com/SocketTornadIO/SocketTornad.IO https://github.com/SocketTornadIO/SocketTornad.IO
- samratjp 16y agoIt's a very personal project. I wrote it so that at least two people in the world can be supported at this point - me and my friend with the latest build of WebKit browsers :-) Of course, I went with Socket.IO - so that covers more than the two of us. Yay! EDIT: Well, if you're a rubyist. EventMachine does a good job serverside, btw.