I am working on a dating site and would like the users to be able to chat with thier friends. I originally was going to integreate with Meebo to provide the chat feature, much like MyYearbook, but Meebo will only provide that service to large sites.
I am willing to learn and code this thing myself, but need to be pointed in the right direction.
Is there a tutorial for this? All of the tutorials i can find are for site chat that allows anyone on the site to participate. I need only friends to be able to see that friends are online, then to chat.
Are there any technologies out there that could be integrated to the site to provide this?
preguntado el 08 de noviembre de 11 a las 18:11
Most simple solutions use polling, which is fine for low volume, but in high volume the number of hits will become an issue. Here's a link that (I think) uses polling and should give you some ideas how to start: http://www.phpfreechat.net/
But for higher volume, you probably need to get away from polling. This question talks about some strategies for that: Use HTTP Keep-Alive for server to communicate to client