We use IndexedDB extensively in a lot of the WebAPIs, see Contacts, Settings,
SMS, MMS, Push, NetworkStats…
Right now there's a lot of boilerplate[1] involved in setting up IndexedDB, and
people end up duplicating a lot of the boilerplate code. It'd be great to see a
more polished wrapper around it. The callback chains of death involved in
writing IDB code are also not very pleasant to read and write, so bonus points
if we could have a syntax like Task.jsm, where you can do |result = yield
objStore.get("foo");|
I don't know how much of this overlaps with the work to expose a simpler
KV-store like API for saving snippets of data, but I figured I'd mention that
this is also a problem for consumers wh need all the functionality of IDB.
[1] http://mxr.mozilla.org/mozilla-central/source/dom/base/IndexedDBHelper.jsm
-- reuben
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform