Yash Desai Yash Desai - 1 year ago 58
Ajax Question

Looking to build a web based chat. Any suggestions?

I was looking to build a web based chat application. My primary idea was in the direction of using AJAX and transferring XML messages to-and-fro a centralized server (used for synchronization)

However, i recently came across XMPP and would like to know how feasible it is to use it as a web based chat client and server, and how easy it is to implement it in PHP.

I would really like some inputs from the gurus here about any other technical approaches that i can take. The chat has to be completely web based, but might be ported to an iPhone application sometime later in the future.

Answer Source

Checkout this browser based chat examples of Jaxl library . JAXL (Jabber XMPP Library) is written in PHP and you can extend the packaged sample examples for your use case.

Checkout this blog post on how to setup the sample browser chat application on your local system.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download