Dojo XMPP Instant Chat server push
To do a web chat system, itself has a PC-side software, using the Tigase server built XMPP.
On the Internet to find the next client how to achieve XMPP, did not find more convenient.
You see that dojo implements XMPP, but does not have a detailed documentation and is generally implemented in conjunction with OpenFire. But Tigase and OpenFire configuration seems different (I do not understand)
Dojo itself provides an example program, but some of the parameters inside do not know how to match
Please advise me if you have any idea.
Or is there any other way to achieve instant messaging?
Ajax long polling? Flash xmlsocket?
Ajax long polling server pressure seems to be very large?
Does the flash build socket have a ready-to-integrate XMPP request with the receive character parsing?
Reply to discussion (solution)
PHP socket or comet,socket is a good solution, the problem is not all browsers are compatible, server-side implementation is a little bit cumbersome. By contrast, comet ("Server Push" based on HTTP long connections) is easier to implement and compatible with all browsers.
The Comet architecture is ideal for event-driven WEB applications, as well as for applications where interactivity and real-time requirements are strong, such as stock market analysis, chat rooms, and Web version online games.
The Comet architecture is ideal for event-driven WEB applications, as well as for applications where interactivity and real-time requirements are strong, such as stock market analysis, chat rooms, and Web version online games.
This is the Ajax long polling you're talking about.
I have a PC-side software, just like QQ, and then have the web side. itself the PC-side is the XMPP protocol that is used to build a good XMPP server.
Building a socket server using PHP is unrealistic