好的入门教程socket.io? [英] Good beginners tutorial to socket.io?

查看:104
本文介绍了好的入门教程socket.io?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对网络开发的世界很陌生,并跳入潮流,因为我发现HTML5的概念非常有趣。我对使用canvas的相当有信心,现在想转移到它的websockets部分。我已经开始理解socket.io是迄今为止使用的框架,当我们想要使用Web套接字时。



关于引用什么教程和示例的任何指针我们建议您使用 Socket.IO 作为开始。

您首先阅读主页上的示例:



http://socket.io/



服务器端,阅读GitHub源页面上的如何使用:



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



客户端



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



最后,你需要阅读这个伟大的教程:

http://howtonode.or g / websockets-socketio



提示:在这篇博文的最后,你会看到一些指向源代码的链接这可能会有所帮助。


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

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.

这篇关于好的入门教程socket.io?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆