josephg / ShareJS

Collaborative editing in any app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

noob: Can a shareJS application exist entirely offline?

made-by-chris opened this issue · comments

I would like to make an offline-first application, let's say a notes app, which stores notes locally. It would eventually would have a serverside storage component for synching and use across devices. Would ShareJS be ideal for managing all the indefinite client-side storage? I've also been looking at the localStorage API, and am not sure what would best meet my needs. Thanks

Your scenario sounds like a perfect candidate for using git-like tools (diff-patch-match)!

There's also couchdb which does versioned updates and has mobile libraries.
You can keep your db in sync when coming online but allowing multiple
writers requires OT, to be reconciled after sync time.

On Mon, May 18, 2015, 9:30 AM Soroush notifications@github.com wrote:

Your scenario sounds like a perfect candidate for using git tools
(diff-patch-match)!


Reply to this email directly or view it on GitHub
#376 (comment).