News for hackers. Stuff that matters.
Re:Ejabberd 2.1.0 released. by clemesha on Friday November 13, 2009 @01:31PM (#940478)
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 and Punjab: http://code.stanziq.com/punjab )

Re:Ejabberd 2.1.0 released. by futuremint on Friday November 13, 2009 @01:59PM (#940528)
Yep, 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.

Re:Ejabberd 2.1.0 released. by clemesha on Friday November 13, 2009 @02:51PM (#940642)
Great 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.
Re:Ejabberd 2.1.0 released. by daleharvey on Friday November 13, 2009 @01:41PM (#940501)
I 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
Re:Ejabberd 2.1.0 released. by clemesha on Friday November 13, 2009 @02:57PM (#940655)
Yeah, 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?

Re:Ejabberd 2.1.0 released. by daleharvey on Friday November 13, 2009 @03:33PM (#940750)
I 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

Re:Ejabberd 2.1.0 released. by xhuang on Friday November 13, 2009 @06:53PM (#941115)
i 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)