Discussion:
[jadmin] Shared Editing with XMPP
Laine Markku
2013-08-15 10:12:08 UTC
Permalink
Dear all,


I am about to start building a real-time collaborative web application using XMPP. I already figured out that in order to use XMPP on the Web one should use either "XEP-0206: XMPP Over BOSH" (http://xmpp.org/extensions/xep-0206.html) or "An XMPP Sub-protocol for WebSocket" (https://tools.ietf.org/html/draft-moffitt-xmpp-over-websocket-03) together with an XMPP client library for JavaScript (e.g, Strophe.js, http://strophe.im/strophejs/) and an XMPP server (e.g., Openfire, http://www.igniterealtime.org/projects/openfire/) supporting them.

What I am still missing is how to keep data in sync between collaborators. I ran into a couple of XEPs dealing with the issue, such as "XEP-0228: Requirements for Shared Editing" (http://xmpp.org/extensions/xep-0228.html), "XEP-0204: Collaborative Data Objects" (http://xmpp.org/extensions/xep-0204.html), and "XEP-0284: Shared XML Editing" (http://xmpp.org/extensions/xep-0284.html). Unfortunately, all of them have been deferred.

Therefore, my question is what would be a recommended way to implement real-time collaborative editing of (XML) documents between XMPP clients? Preferably supporting Operational Transformation (OT, https://en.wikipedia.org/wiki/Operational_transformation).

Thanks in advance!
+Markku
Rafał Zawadzki
2013-08-19 15:22:47 UTC
Permalink
Not sure if its helps but check this out:

http://wiki.xmpp.org/web/Real-time_wiki
--
Rafal bluszcz Zawadzki http://dev.bluszcz.net
https://jabberpl.org - XMPP server which respects your privacy
http://idoru.pl - friendly area of internet
Tomasz Sterna
2013-08-19 15:59:10 UTC
Permalink
Post by Laine Markku
Therefore, my question is what would be a recommended way to implement
real-time collaborative editing of (XML) documents between XMPP
clients? Preferably supporting Operational Transformation (OT,
https://en.wikipedia.org/wiki/Operational_transformation).
IIRC Google Wave Protocol was designed to accomplish exactly this goal?
See http://en.wikipedia.org/wiki/Google_Wave
--
Tomasz Sterna :(){ :|:&};:
Instant Messaging Consultant Open Source Developer
http://abadcafe.pl/ http://www.xiaoka.com/portfolio
Loading...