This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
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
No
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