Build xmpp-based real-time chat system using dojo

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.