News for hackers. Stuff that matters.
Re:NoSQL No More by frik on Friday April 11, 2014 @02:51PM (#7574700)
> It was, therefore, not possible even in principle to have mutually-compatible, independent implementations (and all of the existing implementations just did "link to some version of SQlite and do whatever it does".)

SQLite library is in public domain, has more lines of code test cases than lines of code C library code and its SQL API is stable. Plus the SQL language is well documented: https://www.sqlite.org/lang.html

W3C could also simply just fork SQLite at any time and modify the SQL dialect.

Mozilla and Oracle both are official gold sponsors of SQLite, both companies use the library in their own products though made a lot of effort to create IndexedDB and especially tried to deprecate WebSQL - nice job!

Microsoft has several embedded SQL libraries (JetBlue, JetRed, SQL Server Express) and it would be a piece of cake for them to modify the SQL parser a bit to the WebSQL SQL dialect.

Re:NoSQL No More by vertex-four on Friday April 11, 2014 @03:19PM (#7574900)
The point is that someone has to actually sit down and define the exact feature set that a WebSQL implementation is supposed to implement, such that a development team could sit down with a copy of the standard and no other code and implement their own WebSQL implementation from scratch.

The fact that SQLite is available is entirely irrelevant to any of this. The W3C can't just say "do it like SQLite does it" - that's not a standard. The WebSQL spec that exists says:

> User agents must implement the SQL dialect supported by Sqlite 3.6.19.

Unless someone actually sits down and goes through the standardisation process to define WebSQL properly, this is not the way to go, or the next thing will be "implement this tag like Firefox does".

Re:NoSQL No More by jeffdavis on Friday April 11, 2014 @04:00PM (#7575219)
To be more specific: let's say SQLite has a bug which manifests differently on different platforms. It would be impossible to adhere to the standard.
Re:NoSQL No More by SchizoDuckie on Friday April 11, 2014 @04:07PM (#7575262)
May I refer once again to http://sqlite.org/testing.html and the fact that it's running in the real world on millions of devices? This is a non-argument in this discussion! What if IndexedDB has a bug which manifests differntly on differnt platforms? You would refer to the specs, which can be tested.
Re:NoSQL No More by mrcsparker on Friday April 11, 2014 @10:13PM (#7576679)
I don't understand this argument. There is already a SQL standard. Start there.
Re:NoSQL No More by vertex-four on Saturday April 12, 2014 @06:53AM (#7577539)
The SQL standard defines far more than you'd want in a web browser, and I'm not sure anyone actually wants all of it. So someone has to sit down and define which bits to cut out, anyway... and then browser developers have to develop a database engine, which I'm fairly sure none want to do. We barely have any open-source software that implements SQL correctly as it is.