4 ms·
Safari are finally adding IndexedDB, which means for the first time we have a unified storage interface across all the browsers. IndexedDB is kinda nasty to wo
by daleharvey 13y ago
Safari are finally adding IndexedDB, which means for the first time we have a unified storage interface across all the browsers.
IndexedDB is kinda nasty to work with directly, but there are fairly good libraries on top of it. http://www.taffydb.com/ http://www.taffydb.com/ looks great for complex queries. One I work on http://pouchdb.com http://pouchdb.com provides syncing (also works with WebSQL)
WebSQL is also pretty nasty to work with, hand crafting SQL string in the browser for one just feelds weird, even yesterday I had a bug filed which related to the internal SQLLite implementation (the entire reason WebSQL is a no go is it has one implementation, Richard Hipp would now own web storage)
I havent seen much support from webSQL, even between those of us who actually use it most are just waiting for it to die, indexeddb in safari is that final nail
- taf2 13y ago"Safari are finally adding IndexedDB, which means for the first time we have a unified storage interface across all the browsers." localStorage has been well supported over all browers since IE8... It's interface IMO is a perfect fit in JavaScript... with the one exception of not being callback driven...
- daleharvey 13y agoYeh sorry, not technically correct, while localstorage is great for quickly storing small items, due to having a sync api and having to encode / decode complex data its a non starter more data driver applications, so I always automatically exclude it
- deleted 13y ago[deleted]