XMPP Web Client for Commercial Web Application

I have a challenge to choose an XMPP server / client solution for an internal web application. The goal is for employees to be able to use it through a desktop client or web application. The web client is required.

The web application is written in PHP, but I don't necessarily need a PHP solution. Flash or Java are acceptable (Flash is preferred as it is already required by another application component).

The web app requires javascript to be enabled (and uses jQuery), so AJAX is out of the question either.

There are only two requirements to fulfill:

  • The client must use a secure connection (HTTPS for AJAX, TLS for Flash / Java).
  • The client license must be commercial. Free would be nice, but it's not a requirement.

So far I have found SparkWeb , which is LGPL licensed (hooray), but I was not impressed with its live demo. I was unable to create an account on my server or connect to another XMPP server I am running, so I couldn't even see it in action.

I also found Strophe which looks good.

Another option is one of the Tigase Client Options . I'm not sure if our use of GPLv3 will like it (I'll have to read it carefully).

Any guidance (or a push in the right direction) would be helpful.

+2


source to share


1 answer


About the license: The GPL obliges you to provide the source code for the application. So GPLv3 can fit.

When choosing a library, I see two possible options:



  • if you want to create a simple and great integration with your site code, building a web client with StropheJS is arguably the best choice. But you need to code the client GUI. (more work)

  • If you want a good client, but with limited interaction with the rest of the site, I would recommend the Tigase Messeger. It is written in GWT and has good support - especially if Tigase is the server you are using.

Both of these libraries are pure javascript and use BOSH to communicate with the XMPP server.

+2


source







All Articles