suma-project / Suma

Suma: A Space Assessment Toolkit
https://suma-project.github.io/Suma/
MIT License
68 stars 44 forks source link

Select browser database library #51

Closed bretdavidson closed 8 years ago

cappadona commented 8 years ago

Stumbled upon fortune.js a while back and thought it might be useful here.

cazzerson commented 8 years ago

Thanks, Nick! Looks like it's missing the Web SQL and/or localStorage adapters that may be necessary for broad browser support:

http://fortunejs.com/plugins/ http://caniuse.com/indexeddb

Another useful resource:

https://nolanlawson.com/2015/09/29/indexeddb-websql-localstorage-what-blocks-the-dom/

Especially:

http://mozilla.github.io/localForage/ https://google.github.io/lovefield/

Jason

On Mon, Apr 25, 2016 at 1:11 PM, Nick Cappadona notifications@github.com wrote:

Stumbled upon fortune.js http://fortunejs.com a while back and thought it might be useful here.

— You are receiving this because you were assigned. Reply to this email directly or view it on GitHub https://github.com/cazzerson/Suma/issues/51#issuecomment-214445773

cazzerson commented 8 years ago

Although we'll need to do some work to map the current schema and data management processes to a key-value store, localForage looks like the best option for us. It supports multiple underlying storage systems, has a large and active user community, and is simple to use.