Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

noob: Can a shareJS application exist entirely offline? #376

Open
made-by-chris opened this issue May 17, 2015 · 2 comments
Open

noob: Can a shareJS application exist entirely offline? #376

made-by-chris opened this issue May 17, 2015 · 2 comments

Comments

@made-by-chris
Copy link

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

@hatpick
Copy link
Contributor

hatpick commented May 18, 2015

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

@wmertens
Copy link
Contributor

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 [email protected] 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants