用于推送/竞争/反向ajax通知的JavaScript库? [英] JavaScript library for push/comet/reverse-ajax notifications?

查看:60
本文介绍了用于推送/竞争/反向ajax通知的JavaScript库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正计划建立一个网站,让您可以与其他人玩(回合制)游戏。我需要能够传达已采取的措施。我认为推送通知最适合此操作。我已经阅读了一些有关node.js的内容;那是路要走吗?还是有其他可以简化这种事情的库?

I'm planning on building a website where you can play (turn-based) games with other people. I need to be able to communicate which moves have been made. I think push-notifications are best suited for this. I've read a little bit about node.js; is that the way to go? Or are there other libraries that will make it easy to do this sort of thing?

推荐答案

有许多解决方案许多不同的技术。 Node.js和 socket.io 只是一种流行的解决方案。

There are a number of solutions with a number of different technologies. Node.js and socket.io is just one popular solution.

如果您是Ruby开发人员,则 Faye (也具有node.js版本)或<选项是href = http://juggernaut.rubyforge.org/ rel = nofollow noreferrer> juggernaut 。对于.NET,有 SignalR XSockets 。对于Java,有 jwebsocket WaterSpout服务器。还有很多。

If you are a Ruby developer then Faye (which also has a node.js version) or juggernaut are options. For .NET there is SignalR or XSockets. For Java there's jwebsocket or WaterSpout Server. There are many more too.

我正在维护实时网络技术列表,希望这将是一个很好的起点。

I'm maintaining a list of realtime web technologies which will hopefully be a good starting point.

这篇关于用于推送/竞争/反向ajax通知的JavaScript库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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