Hi, I'm looking to develop a chat application using php sockets, I'm not looking to include database as a bridge between nodes, reason being the amount of database interaction will ultimately be an overhead..Pls suggest..
+1
A:
First link in google. http://www.kirupa.com/developer/flash8/php5sockets_flash8.htm Remove flash part, and you'll have what you need.
Sorantis
2009-07-25 10:05:06
I'll see to it, the question still remains, is it feasible? should this actually be done using sockets, wherein I can use database to do it? I'm also trying to implement file transfer to it, maybe using the p2p paradigm...what do you reckon?
2009-07-25 10:10:01
It is possible. But it would be better to do it using ajax technology.http://www.webresourcesdepot.com/php-ajax-chat-application-mia-chat/You want to do p2p file transfer for a web application?
Sorantis
2009-07-25 10:17:03
yeah, the concept is not pure p2p, but an involvement of server for processing php would be a prerequisite, its something that can be done if thought of, imagine involving the server for just figuring out the nodes available for communication...how about it?
2009-07-25 10:21:29
This is already centralized control. This is feasible. But I don't know if it can be done using PHP.Okay, server will have table of online nodes. He is a router. But how are you going to transfer data?
Sorantis
2009-07-25 12:10:44
well i've worked with Java on sockets, as far as Java is concerned I used pipelines, I hope its possible in php too..
2009-07-25 17:25:39
A:
Have you tried hocking up to a message qeue? http://www.rabbitmq.com/ for example
finpingvin
2010-03-08 08:56:51