Hacker News new | past | comments | ask | show | jobs | submit login

SQLite was the spec. Instead of extracting a spec from a working implementation of a bedrock internet technology they've gone old-school W3C blue-sky and designed a half-assed NoSQL spec instead.

I've supported Mozilla in all their battles over patent-encumbered technologies in web specs but in this case they've fragmented the HTML5 spec for no good reason.




"SQLite was the spec" was the problem. No arbitrary version of any arbitrary vendor's software should be the core of a web-wide spec, no matter whether it's open source or popular or loved by millions.

The HTML5 authors & editors have already spent years reverse engineering and describing the behavior of existing browsers as part of that spec.

I'm sure everyone was overjoyed at the prospect of starting the same process for every quirk and bug of that specific version of SQLite, and bumping the spec every time the project released a new version. Or, alternately, living with a fork of that specific version of SQLite forever.

Seriously, that's an awesome way to write and maintain a spec. How about you do the web a solid and give it a shot? Come back when you've got something.


So inventing a completely new, untested set of storage semantics, and implementing them across browsers, is easier than picking a version of SQLite and forking it if necessary?

Yeah, right.


The backend for IndexedDB in Chrome is LevelDB, which is what Google uses internally for most of their webapps. That certainly shows that it's not just a half-assed NoSQL spec.


localStorage["library"] = JSON.stringify(library);

The WebSQL version requires you to check that the table you want to insert into exists, and if not create it, then perform the insert.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: