Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Socket.io and Nodejs tutorials [duplicate]

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!

like image 237
Shouvik Avatar asked Feb 10 '26 02:02

Shouvik


2 Answers

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

like image 59
FR6 Avatar answered Feb 13 '26 00:02

FR6


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

like image 35
250R Avatar answered Feb 13 '26 00:02

250R



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!