Dojo builds an XMPP-based instant chat system

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

  • Related Article

    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.