mizzao / meteor-sharejs

Meteor smart package for transparently adding ShareJS editors to an app
MIT License
225 stars 53 forks source link

ShareJS 0.7.3 support? #42

Open charford opened 9 years ago

charford commented 9 years ago

Hi there,

I'm currently looking into adding sharejs 0.7.3 support to meteor-sharejs. Before I get too involved, I wanted to check to see if anyone here done this yet?

The main reason i'm looking to do this, is because from what i've been told, ShareJS 0.6 does not support multiple server instances, which was implemented in 0.7.3.

mizzao commented 9 years ago

No, no one has done that.

I'm not sure what multiple server instances means, but you should definitely think about that also from the Meteor perspective (where there may be many Meteor servers running off a single DB.)

I'm pretty sure that 0.7.3 support would require a rethinking of the many little hacks that I used to get 0.6 to work. But I'm happy to take a look at anything you start working on.

charford commented 9 years ago

Hey,

This will explain the 'multiple servers' better than I can.

https://josephg.com/blog/sharejs/

He talks about it in the section titled: "Scalable database backend"

I'll tinker around a bit, and if I come up with something that works, i'll see about submitting a pull request. Thanks for the info.

mizzao commented 8 years ago

I'm thinking about how to integrate ShareJS 0.7 as part of #50.

edemaine commented 8 years ago

Recent ShareJS discussion seems to indicate that 1.0 will be based on 0.6, not 0.7, while 0.7 is forking into a JS OT focused library. Might make sense to wait for 1.0 and keep this library focused on flat text... and start a new library for JS OT. :-)

https://groups.google.com/forum/?fromgroups#!topic/sharejs/NGJ-I9Zuz_8