I'm searching for a messaging platform (like XMPP) that allows tight integration with a web applicat

Posted by loxs on Stack Overflow See other posts from Stack Overflow or by loxs
Published on 2010-05-14T12:09:00Z Indexed on 2010/05/14 12:14 UTC
Read the original article Hit count: 237

Filed under:
|
|
|
|

Hi,

At the company I work for, we are building a cluster of web applications for collaboration. Things like accounting, billing, CRM etc.

We are using a RESTfull technique:

  1. For database we use CouchDB
  2. Different applications communicate with one another and with the database via http.
  3. Besides, we have a single sign on solution, so that when you login in one application, you are automatically logged to the other.
  4. For all apps we use Python (Pylons).

Now we need to add instant messaging to the stack. We need to support both web and desktop clients. But just being able to chat is not enough. We need to be able to achieve all of the following (and more similar things).

  1. When somebody gets assigned to a task, they must receive a message. I guess this is possible with some system daemon.
  2. There must be an option to automatically group people in groups by lots of different properties. For example, there must be groups divided both by geographical location, by company division, by job type (all the programers from different cities and different company divisions must form a group), so that one can send mass messages to a group of choice.
  3. Rooms should be automatically created and destroyed. For example when several people visit the same invoice, a room for them must be automatically created (and they must auto-join). And when all leave the invoice, the room must be destroyed.
  4. Authentication and authorization from our applications.

I can implement this using custom solutions like hookbox http://hookbox.org/docs/intro.html but then I'll have lots of problems in supporting desktop clients.

I have no former experience with instant messaging. I've been reading about this lately. I've been looking mostly at things like ejabberd. But it has been a hard time and I can't find whether what I want is possible at all.

So I'd be happy if people with experience in this field could help me with some advice, articles, tales of what is possible etc.

© Stack Overflow or respective owner

Related posts about xmpp

Related posts about ejabberd