The easiest way to make comet chat

I need to do tet-a-tet comet chat with many channels using PHP as the backend and JQuery as the interface. I need something like an event-driven server to do this ... But I did not find anything simple and attractive for my task. Please tell me the best solution to this problem.

+7
jquery php comet
source share
7 answers

You can search for the term Reverse Ajax . The APE project will probably help you.

+2
source share
+1
source share

You can try WebSync On-Demand ... there is a simple chat demo that should make you work and work ...

http://www.frozenmountain.com/websync/demos

+1
source share

Have you heard of AjaxIM ?

This is an open source framework that uses AJAX.

+1
source share

Maybe you should try using node.js. It supports event driven web servers and there is already a chat demo ( http://nodejs.org/#demo ). With node.js, you write your backend and interface code in Javascript, so this should not be a problem if you know this language.

0
source share

Actually, I was just reading an article about this, which led me to: http://demo.java2script.org/gtalk/ , which is an example of what you're trying to do.

0
source share

I have a very simple example to help you get started with a comet. It covers the Nginx collection with the NHPM module and includes code for simple publisher / subscriber roles in jQuery, PHP, and Bash.

http://blog.jamieisaacs.com/2010/08/27/comet-with-nginx-and-jquery/

0
source share

All Articles