Y
Hacker News
new
|
ask
|
show
|
jobs
by
nornagon
3942 days ago
You might consider building on top of something like ShareJS[1]'s JSON OT types rather than reinventing your collaboration substrate :)
[1]:
https://github.com/share/sharejs
1 comments
marijn
3942 days ago
I am aware of those, but consciously chose not to use them. A hierarchical document model, as opposed to their linear one, has a lot of advantages, and OT is a pain to extend. See also
http://marijnhaverbeke.nl/blog/collaborative-editing.html
link
nornagon
3942 days ago
The JSON data type in ShareJS is not linear, though that said implementing rich text on top of it is still an open problem.
Full disclosure: I wrote the JSON data type in ShareJS :)
link