[erlang-questions] Nitrogen-based XMPP client?

Lloyd R. Prentice <>
Fri Apr 3 05:29:33 CEST 2015


Hello,

I'm considering integrating multi-user chat into a Nitrogen application I'm building--- assuming that I'll support it with Mongoose IM. As usual, I'm in over my head, but persistent.

I'm imagining a small number ( four? six?) thematic chat rooms serving a relatively small number of visitors at a time. As to scale, think of a book-signing event at a bookstore. 

I see that there are several JavaScript XMPP client packages that I could integrate into my Nitrogen web pages but, if that's the way, which one? Or, is there a native Erlang XMPP client app that I should look at? Indeed,  is Mongoose IM overkill? After all, the Nitrogen demos provide a very simple tinker-toy chat example, and numerous others can be found on the web though, most, rather long in the tooth.

And more, how much harder would it be to integrate video chat using, say, web sockets?

In other words, how can I best keep the gotchas, demons, and goblins at bay sufficiently to master the arcane arts of multi-user chat sufficiently to build my application before I die of old age?

I'd much appreciate pointers or, better yet, pointers to actual code.

All the best,

LRP

Sent from my iPad


More information about the erlang-questions mailing list