Re: Persistent Storage vs. Database

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 UTC