Good beginners tutorial to socket.io?

Javascriptnode.jsHtmlWebsocketsocket.io

Javascript Problem Overview


I am very new to the world of webdevelopment and jumped into the bandwagon because I find the concept of HTML5 very interesting. I am fairly confident on working with canvas and would now like to move over to websockets part of it. I have come to understand socket.io is by far the framework to work with, when we want to work with web sockets.

Any pointers on what tutorial and examples to refer to for a total dummy would be very appreciated!

Javascript Solutions


Solution 1 - Javascript

To start with Socket.IO I suggest you read first the example on the main page:

http://socket.io/

On the server side, read the "How to use" on the GitHub source page:

https://github.com/Automattic/socket.io

And on the client side:

https://github.com/Automattic/socket.io-client

Finally you need to read this great tutorial:

http://howtonode.org/websockets-socketio

Hint: At the end of this blog post, you will have some links pointing on source code that could be some help.

Solution 2 - Javascript

A 'fun' way to learn socket.io is to play BrowserQuest by mozilla and look at its source code :-)

http://browserquest.mozilla.org/

https://github.com/mozilla/BrowserQuest

Solution 3 - Javascript

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionShouvikView Question on Stackoverflow
Solution 1 - JavascriptFR6View Answer on Stackoverflow
Solution 2 - Javascript250RView Answer on Stackoverflow
Solution 3 - JavascriptLiamView Answer on Stackoverflow