socket.io 的好初学者教程? [英] Good beginners tutorial to socket.io?

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

问题描述

我对 Web 开发领域非常陌生,因此加入了这个潮流,因为我发现 HTML5 的概念非常有趣.我对使用画布很有信心,现在想转移到它的 websockets 部分.我开始理解 socket.io 是目前为止我们想要使用网络套接字时使用的框架.

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!

推荐答案

Socket.IO 开始我建议你先阅读主页上的例子:

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

http://socket.io/

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

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

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

客户端:

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天全站免登陆