News for hackers. Stuff that matters.
Re:We need to kill off the localStorage API by forgotusername on Tuesday February 28, 2012 @09:45AM (#3643308)
So you're basically asking for something like jQuery for IndexedDB (which could probably be written on top in a few 10s of lines of JavaScript). Baking a barebones API into the browser when a more powerful one has already been implemented doesn't make sense.

Similarly for the WebSQL apologists, there's no reason <50kb of JavaScript couldn't provide a fully featured SQL engine on top of IndexedDB - IndexedDB implements most of the hard work (indexes, transactions, the container itself) already.

Re:We need to kill off the localStorage API by jorangreef on Tuesday February 28, 2012 @01:29PM (#3644224)
"So you're basically asking for something like jQuery for IndexedDB"

No. To use your terminolgy, IndexedDB is like jQuery on top of LevelDB. We need just LevelDB without the IndexedDB overhead. Surprisingly, there are things you can do with LevelDB that you can't do with IndexedDB. It's too high a level of abstraction.

Re:We need to kill off the localStorage API by huggyface on Tuesday February 28, 2012 @10:41AM (#3643506)
WebSQL apologists?

Could you point me to such a simple JavaScript library? When IndexedDB was anointed that was the argument -- that the benefits of WebSQL could simply be layered atop. So where is it?