Python + Comet + Web(聊天)-我需要工作(!)库/服务器 [英] Python + comet + web (chat) - I need working(!) library/server

查看:101
本文介绍了Python + Comet + Web(聊天)-我需要工作(!)库/服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要工作(跨浏览器)项目(库/服务器)来构建彗星技术中的网络聊天。有:orbited,orbited2,hookbox,但似乎已不再开发(项目站点也已关闭)并且有很多错误。

I need working (cross-browser) project (library/server) to build web-chat in comet technology. There are: orbited, orbited2, hookbox, but it seems that are no longer developed (also projects sites are down) and have a lot of bugs.

有什么想法吗?

感谢帮助!

推荐答案

看看 Tornado 一个由Facebook团队用Python编写的简单的非阻塞Web服务器。

Have a look at Tornado a simple non-blocking webserver written in Python by the facebook team.

彗星的行为可以通过 tornadio 来完成,这可以将socket.io javascript lib与龙卷风一起使用

The comet behavior can be done with tornadio which makes possible to use socket.io javascript lib with tornado.

tornadio中有一个聊天示例,可能看起来像您想要的。我已经使用IE6,Firefox,Chrome和Opera对其进行了成功的测试。

There is a chat example in tornadio that may look like what you are looking for. I 've tested it successfully with IE6, Firefox, Chrome and Opera.

我希望它会有所帮助

这篇关于Python + Comet + Web(聊天)-我需要工作(!)库/服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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