5 ms·
Anyone using Ejabberd's HTTP-Bind (BOSH) functionality? In particular, is anyone using it in combination with Strophe? Right now I'm using Strophe+Punjab for a
by clemesha 17y ago
Anyone using Ejabberd's HTTP-Bind (BOSH) functionality? In particular, is anyone using it in combination with Strophe?
Right now I'm using Strophe+Punjab for a project but I'm thinking it might be worth cutting out the Punjab dependency.
(Just for reference, the very awesome Strophe: http://code.stanziq.com/strophe http://code.stanziq.com/strophe and Punjab: http://code.stanziq.com/punjab http://code.stanziq.com/punjab )
- daleharvey 17y agoI have experimented with BOSH over the last few releases, I gave strophe+punjab a shot but I found it pretty unwieldy and hard to configure, I havent had any problems with bosh as of yet
- clemesha 17y agoYeah, the Strophe+Punjab is a little unwieldy (there are some use-cases for it, like federating to many XMPP servers - I just don't have this requirement now). Are you using just Strophe, or some other js XMPP lib?
- daleharvey 17y agoI mucked around with aristochat which is based on jsjac, and used some jsjac plain, they mostly worked fine for me although I wouldnt wholly recommend them, remember having to patch jsjac quite a few places. but I dont have anything live with either, I was just playing around
- futuremint 17y agoYep, contracting for a company that has been using HTTP-Bind in Ejabberd for almost 2 years now. The previous version of the product used JSJaC, which was garbage (I can go into details if you want, but its involved). The product currently uses Strophe and we have a chat UI built with that. We just proxy a domain path through to port 5280 on the ejabberd server and it works like a champ. Http-bind has been working better this year. Last year when Firefox 3 was released, it was doing something weird with the XML it generated that crashed the http-bind processes occasionally. I believe ProcessOne fixed that in one of the releases last summer.
- clemesha 17y agoGreat to hear, thanks for the reply. I've had a good experience with Strophe (never tried JSJaC), and the future of it is looking really bright. The lead developer of Strophe, Jack Moffitt, has been creating a jQuery-inspired plugin system for it, which will be awesome.
- xhuang 17y agoi new to this field, but i was thinking the same as well, since ejabberd support BOSH, then what's the point of having Punjab in there. (does anybody have an extensive documentation on how to implement it? from speeqe's setup instruction, it doesn't seems explain how to connect to a xmpp server)