Problem
I’m fresh to the field of web development, but I’ve hopped on board since the concept of HTML5 appeals to me. I’m comfortable working with canvas and would like to move on to the websockets section. I’ve now grasped the concept of socket. When it comes to working with web sockets, io is by far the best framework to use.
Any recommendations for tutorials and examples for a complete dummy would be greatly appreciated!
Asked by Shouvik
Solution #1
To begin, use Socket.IO. I recommend that you start with the following example from the main page:
http://socket.io/
On the server side, see the GitHub source page’s “How to use” section:
On the client side, there are a few things to consider:
Finally, you should read this excellent tutorial:
http://howtonode.org/websockets-socketio
Hint: At the bottom of this blog post, you’ll find some links to source code that may be of assistance.
Answered by FR6
Solution #2
Playing Mozilla’s BrowserQuest and looking at the source code is a ‘fun’ approach to learn socket.io:-)
http://browserquest.mozilla.org/
Answered by 250R
Solution #3
While learning socket.io, I found these two links to be really helpful:
Answered by Liam
Post is based on https://stackoverflow.com/questions/4094350/good-beginners-tutorial-to-socket-io