2 ms·
Web SQL was never in Firefox. The problem with Web SQL was that the spec was effectively just "whatever SQLite does". That isn't good enough for the Web. Imagi
by pcwalton 9y ago
Web SQL was never in Firefox.
The problem with Web SQL was that the spec was effectively just "whatever SQLite does". That isn't good enough for the Web. Imagine if the GIF specification had been "whatever GIFLIB does". Libraries like Lovefield can be built way faster than specifications can be written.
- virtualwhys 9y ago> Libraries like Lovefield can be built way faster than specifications can be written. That may be true, but when said library uses a builder pattern rather than sql statements you can throw out all of your server-side query DSL code and waste time reimplementing everything on the client. Since SQL has been around for several decades it's not surprising that mature server-side SQL libraries are available in abundance. And these days every language under the sun compiles to javascript -- wouldn't it be great to share the same query DSL code on client and server? The answer is, emphatically, yes! Current state of affairs makes this virtually impossible to do in a widely supported manner.