彗星和PHP:如何使用Comet与PHP聊天系统? [英] Comet & PHP: How to use Comet with a PHP Chat System?

查看:202
本文介绍了彗星和PHP:如何使用Comet与PHP聊天系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须使用Comet在PHP中构建一个简单的聊天系统。

I have to build a simple chat system in PHP using Comet.

我不知道这个项目的最佳方法是什么。

I don't know what would be the best approach to this project.

使用什么是最好的技术(跨浏览器会很好),以及如何实现它?我可以使用哪些已经有彗星支持。 (我不想使用Bayeux协议

What is the best technique (cross-browser would be nice) to use, and how to implement it? What libraries can I use that already have comet support. (I don't want to use the Bayeux Protocol)

我已经为聊天系统运行了PHP后端,但我需要一些客户端和服务器之间交互的想法。

I already have a PHP backend running for the chat system, but I need some ideas for the interaction between client and server.

提前谢谢大家。我的问候。

Thank you all in advance. My regards.

推荐答案

你可能想看看 WebChat2 该项目使用comet,AJAX和自定义HTTP服务器通过套接字与IRC通信。

You may want to look at WebChat2 This project uses comet, AJAX, and a custom HTTP server to communicate with IRC via sockets.

这篇关于彗星和PHP:如何使用Comet与PHP聊天系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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