W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: Persistent Storage vs. Database

From: Kyle Huey <me@kylehuey.com>
Date: Fri, 8 Mar 2013 11:30:29 -0800
Message-ID: <CAP045AqyKUFxJNO5u-OxYPbwyhehOnBMt4VshEZx2FWNJkSiyQ@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: public-webapps <public-webapps@w3.org>
On Fri, Mar 8, 2013 at 11:02 AM, Andrew Fedoniouk <news@terrainformatica.com
> wrote:

> On Thu, Mar 7, 2013 at 10:36 PM, Kyle Huey <me@kylehuey.com> wrote:
> > On Thu, Mar 7, 2013 at 10:20 PM, Andrew Fedoniouk
> > <news@terrainformatica.com> wrote:
> >
> >> At least it is easier than http://www.w3.org/TR/IndexedDB/ :)
> >
> >
> > Easier doesn't necessarily mean better.  LocalStorage is certainly
> easier to
> > use than any async storage system ;-)
> >
>
> At least my implementation does not use any events. Proposed
> system of events in IndexedDB is the antipattern indeed. Exactly for
> the same reasons as finalizer *events* you've mentioned above - there
> is no guarantee that all events will be delivered to the code awaiting
> and relaying on them.
>

That's not true at all.  If you don't understand the difference between
finalizers and events you're not going to be able to make a very informed
criticism of IndexedDB.

- Kyle
Received on Friday, 8 March 2013 19:31:00 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:58 GMT