简体   繁体   中英

Integrating an operational transformation library with Meteor

When building apps with Meteor, its capabilities have really amazed me. However, to be able to drop in Etherpad-style collaborative editing bits into my app would really be a holy grail.

While looking up how to do this, I found some projects that seem to use OT libraries in meteor.

Projects using ot.js :

Projects using ShareJS :

I can't seem to tell how these projects integrate with Meteor. Are they actually using Meteor Collections? Do they just use the Node server that is hosting Meteor and do the OT as a separate component, not using Meteor at all? Is there a different OT library that integrates better with Meteor?

If anyone is familiar with these projects or has implemented OT as part of a Meteor app, please share your thoughts on the best way to approach this.

(This isn't a duplicate of Operational Transformation in Meteor.js? as that question is almost a year old and Meteor has moved a long way since then.)

I've started the process of integrating ShareJS with Meteor via a smart package:

https://github.com/mizzao/meteor-sharejs

Please try it out in your Meteor app, and submit new features!

Demo here:

http://documents.meteor.com

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM