HOW TO GET YOUR SANITY BACK WITH SOCKET.IO
YO!I am Danielius Visockas
I had to build a chat
Realtime was a problemAt least for me
Because I’m a ruby developer.
Problem?
✘ Polling✘ Long polling✘ Very long polling✘ Web Sockets✘ SSE✘ Just use some service
socket.iowith node.js to the rescue
Socket.io abstracts realtime like jQuery does for Ajax
Supported transports
✘ Web Socket✘ Adobe Flash Sockets✘ Long polling✘ Multipart streaming✘ JSONP Polling✘ Forever iframe
Supported browsers
✘ IE 5.5+✘ Safari 3+✘ Chrome 4+✘ Firefox 3+✘ Opera 10+✘ iSafari✘ Android WebKit✘ WebOs Webkit
redisRuby server node &
socket.ioPGsql
Caveats
✘ Security
✘ Adds complexity
Thank youAny questions?You can find me at @dvisockas
For more info visit http://socket.io