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.