Build an xmpp-based real-time chat system with dojo xmpp
To create a web online chat system, we have pc-side software and use xmpp built on the tigase server.
I found out how to implement xmpp on the client on the Internet, but it is not easy to find it.
We can see that dojo implements xmpp, but there is no detailed documentation, and it is generally implemented with openfire. However, the configuration of tigase and openfire is different (I don't understand)
Dojo itself provides an example program, but some parameters in it do not know how to configure
Please do not give me any further information.
Or is there any other way to implement instant messaging?
Ajax long polling? Flash xmlsocket?
Does ajax long polling seem to put a lot of pressure on servers?
Is there any ready-made ability for flash to integrate xmpp requests and receive character parsing?
Reply to discussion (solution)
Php socket or comet, socket is a better solution, the problem is that not all browsers are compatible, and server implementation is a little troublesome. In contrast, comet (based on HTTP persistent connection "server push") is more convenient and compatible with all browsers.
The Comet architecture is very suitable for event-driven Web applications and applications that require strong interactivity and real-time performance, such as stock exchange analysis, chat rooms, and online Web games.
The Comet architecture is very suitable for event-driven Web applications and applications that require strong interactivity and real-time performance, such as stock exchange analysis, chat rooms, and online Web games.
This is what you call ajax long polling.
I have pc-side software, just like QQ, and then web-side software. The pc end uses the xmpp protocol to build an xmpp server.
Using php to build a socket server is unrealistic