Strophe?
Opened this issue · 3 comments
You might want to check out xmpp-ftw.jit.su or stanza.io...
What's wrong with Strophe? Could you elaborate your concerns? JSON is of course a more easy to deal with format, but doing XML (essentially DOM) in JavaScript is not the end of the world at all. Plus it looks like both those bridges have their own sets of XEPs that they implement, so it's another layer between what the server supports and what the client supports. So yeah I'd like to hear the reasoning behind this.
One of the problems that we ran into when building a large strophe app (https://github.com/buddycloud/buddycloud-webclient-discontinuted) was that browsers liked to optimise what background tabs do. So if there was an inbound stanza that needed parsing... it would be dropped and you would need to spin-up a new connection.
Also, as the project became bigger it became quite a problem to handle all the logic in the browser. @lloydwatkins xmpp-ftw was a nice way to cleanly seperate frontend from backend - we're using it now in https://github.com/buddycloud/buddycloud-angular-app and also recommend it as the preferred way to do things with buddycloud channels: https://xmpp-ftw.jit.su/manual/extensions/buddycloud/
PS: I really like what you are building :) 👍