rufuspollock-okfn / dataexplorer

View, visualize, clean and process data in the browser.
http://explorer.okfnlabs.org
148 stars 47 forks source link

Handle storage of data "locally" on a Project better #88

Open rufuspollock opened 11 years ago

rufuspollock commented 11 years ago

Why

Reasons why we need local data ...

Alternatives ...

We will go for just removing localStorage

Notes on Indexed DB Libraries

Indexed DB itself has a fairly painful API. We therefore probably want to use a wrapper.

Two existing JS wrappers. Both do a good job of removing some of the pain of using IndexedDB and of working consistently cross-browser. These are my rough impressions:

rufuspollock commented 11 years ago

Added notes about IndexedDB wrapper libraries

djw commented 11 years ago

Local storage gone in #99. The plan is to persist data to gists in the short term, later reintroducing an IndexedDB-based local cache.

djw commented 11 years ago

There's a work-in-progress pull request here: #101

rufuspollock commented 10 years ago

Wonder if @maxogden's https://github.com/maxogden/level.js + levelup would be useful here ...