google-chromewebkitmozillaweb-sqlindexeddb

Synchronise local WebSQL/IndexedDB database with 'pre-built' database file?


Is there any plan to make it possible to download (or synchronise from) a 'pre-built' database file, so to speak, for use with a local web browser database like WebSQL or IndexedDB?

At the moment, to add or update a local database it's necessary to export or store data in a format such as XML or JSON, then get, parse and store the data.


Solution

  • I am under the impression that what you're looking for would be too much over-standardization on the browser side. As I understand it, IndexedDB is meant to be simple and robust enough for anyone to write JavaScript code that does the synchronization to your database server of choice.

    In the meantime, you might take a look at these projects: