3 ms·
Related: does anyone know any other good resources for architecting and building OT/CRDT for nested data structures like HTML or JSON? Ideally projects with wor
by ianstormtaylor 10y ago
Related: does anyone know any other good resources for architecting and building OT/CRDT for nested data structures like HTML or JSON? Ideally projects with working examples even?
- amelius 10y agoI'm looking for a good 3-way merge for strings implemented in Javascript.
- clemensnk 10y agoWe do OT on HTML (or rather the DOM) in the Webstrates (http://www.webstrates.net http://www.webstrates.net) project. We use ShareJS (now ShareDB) and represent and store the DOM as a JSON document.
- nateps 10y agoAuthor of ShareDB (https://github.com/share/sharedb https://github.com/share/sharedb) here. ShareDB is a stable production JSON OT system that powers the entire backend for Lever (https://www.lever.co/ https://www.lever.co/). All of Lever's apps, backend services, migration scripts, etc. go through ShareDB. It scales horizontally; over 1000 companies use Lever, including companies with 1000s of employees, like Netflix and Yelp. There are some simple examples in the repo to get you started. Please let us know if you have any questions getting going!