Re:What I suspect Google is up to with Native Client
by MatthewPhillips on Wednesday December 07, 2011 @08:29AM
(#3323634)
Slightly off-topic, but I've been hacking IndexedDB lately, and while I'm grateful to Mozilla from saving us a future of writing SQL in the browser, IndexedDB is not what I would call friendly. Anything you do against it requires 4 or 5 callbacks. The first thing a JavaScript programmer will do is write an abstraction layer around it. That's a sign an API is too complex. Why on earth a transaction is required to do a get (or even a put, for that matter) is something I don't understand.
[ Parent
| on HN ]
Re:What I suspect Google is up to with Native Client
by aapl on Wednesday December 07, 2011 @02:33PM
(#3325469)
To my knowledge, IndexedDB is specifically intended as a low-level B-tree API that most developers will access via a high-level library of some sort [1].
[1] http://hacks.mozilla.org/2010/06/beyond-html5-database-apis-...