开发者

PHP Ejabberd Handshaking

I am creating a soc开发者_开发百科ial networking site where I want users to chat and receive live notifications like Facebook, I tried searching for possible solutions and found ejabberd's pubsub module (I am using ejabberd for chatting), so my option is to create some sort of pubsub service for that or second solution I have in mind is that upon entering a feed into mysql db, I send some sort of special message to user using ejabberd, for that I want to use jaxl php library, I tried it and it works just fine if you send message from javascript->php->ejabberd, but dosen't work if I try to send messages using only php.

Please tell me if my approaches are right or there is a better solution for that.


I have used JsJAC will great success. Skip PHP all together and make this a client-side operation.

http://blog.jwchat.org/jsjac/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜