W3C home > Mailing lists > Public > www-tag@w3.org > February 2013

Re: IndexedDB, what were the issues? How do we stop it from happening again?

From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Mon, 11 Feb 2013 15:44:58 -0500
Message-ID: <5119584A.3030907@openlinksw.com>
To: www-tag@w3.org
On 2/11/13 11:11 AM, Marcos Caceres wrote:
> On Monday, 11 February 2013 at 14:28, Kingsley Idehen wrote:
>> On 2/10/13 5:37 PM, Miko Nieminen wrote:
>>> Sorry for dropping previous content in this thread, but I just
>>> subscribed to this list and the only way I found to reply to older
>>> messages is by using archives and "respond to this message" link.
>>> It seems that people criticize IndexedDB quite a lot and I don't quite
>>> agree with most of the criticism. I have been playing with IDB for
>>> couple of months now I actually quite like it. It has its shortcomings,
>>> but I think NoSQL database is very good choice as browser based
>>> database and there are multiple reasons why I favour this approach over
>>> embedding SQL DBMS.
>> It isn't an either or proposition. Each API serves different kinds of
>> data access needs. As you say, IndexedDB works fine once you understand
>> its problem space focus :-)
> The different data access needs is not the issue (well, not so much… though IndexedDB feels like a computer science experiment, rather than a replacement for the common use cases of WebSQL). The problem is more about how access to that data (and errors/events that occur from it) are represented as an API - and how the developer is forced to deal with those (i.e., the gymnastics and callback spaghetti). You only really get a sense of that by trying to use the API or looking at examples of the API in use (like [1]). If you are accustomed to working with complicated APIs (e.g., you come from Java or something), then you might just be wondering what all the whinging is about… but if you come from, say, using buttery-smooth-API-silk like JQuery, then you are probably feeling a bit cheated.
> [1] http://www.html5rocks.com/en/tutorials/indexeddb/todo/#toc-step2
> --
> Marcos Caceres
> http://datadriven.com.au
I come from the realm of developing and designing ODBC, JDBC, OLE-DB, 
ADO.NET, XMLA, and most recently Linked Data drivers/providers/cartridges.

IndexedDB is an API for that kind of work scoped to the needs of DBMS 
engines that aren't necessarily so called SQL RDBMS variants. For folks 
that write the kind of drivers outlined above, it looks fine.



Kingsley Idehen	
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca handle: @kidehen
Google+ Profile: https://plus.google.com/112399767740508618350/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen

Received on Monday, 11 February 2013 20:45:45 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:33:19 UTC