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!
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
Official tutorial https://socket.io/get-started/chat
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With