tags:

views:

657

answers:

6

I need to make tet-a-tet comet chat with many channels using PHP as a backend and JQuery as a frontend. I need something like event-driven server to do this... But didnt find any simple and appplicable to my task. Please, tell me the best solution for this problem

+1  A: 

You can create a daemon: http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/

Sam Dark
Not very useful as i have not enough time to write a server by myself :) deadline coming soon
hexxy
http://code.google.com/p/webchat2/?
Sam Dark
Making daemons is fun. But there are speedier alternatives.
Brian Lacy
A: 

Maybe you should try to use 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 frontend code in Javascript, so it shouldn't be problem if you know this language.

Bohdan
A: 

You could try WebSync On-Demand...there's a simple chat demo that should get you off and running...

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

jvenema
A: 

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

jamie-wilson
+1  A: 

Have you heard of AjaxIM?

It's an open-source instant messaging framework that uses AJAX.

Alex
+2  A: 

You may a look for Reverse Ajax term. Probably the APE project will help you.

Edigu
Been using APE project for PHP and Python (django) and it works perfect. Server side javascript and got working scripts for mootools, jquery and probably other js-frameworks.
xintron