User-centric sync for the web
Nowadays, users of mobile apps, but also of some desktop applications, expect their data to be synced to the cloud, and to other their devices. The web has traditionally solved this by storing data at the application provider's server. But with the new tools listed on this page, you can also allow users to sync data from your app to their own storage server. Straight from any modern browser (using CORS), without passing through your application server first.
Choosing a client library for per-user storage
|Per-user backend:||Dropbox storage||GoogleDrive storage||remoteStorage (open protocol!)||Per-user Hoodie (new!)|
|Google Drive JS||YES|
The reason that none of these client libraries support for instance Apple iCloud or Microsoft OneDrive, is that those services don't provide a cross-origin 'REST+CORS' API. Dropbox and GoogleDrive do, all remoteStorage providers do (this is what the remoteStorage specification was designed for), and Hoodie does as of version 1.0 (still in beta as of October 2014).
Instant Data Import
Most of these libraries also have a domain-specific 'data modules' system that allow your app not only to store data, but also to indicate that something is a photo, a contact, or a calendar event. That means that your app will be pre-filled with the user's existing photos, contacts, and calendar events, even on first use. No need for cumbersome import wizards anymore!
remotestorage.js and hoodie.js were both developed with offline-first design principles in mind: if the network is flaky, requests will be automatically queued for when connectivity comes back, without throwing Exceptions that interrupt the flow of the user experience.
Free your user's data
As already explained on the first page, storing data on the user's storage instead of on your server as an app provider puts the user, not you as an app provider, in control of their data. You may also adopt a hybrid approach: host a default remoteStorage or Hoodie server for users who sign up at your site, but allow free birds to override that default if they want to specify their own storage server.
Full listing of relevant tools
+ add yours
user data modules
static web server