|
|
|
|
|
by garyclarke27
2843 days ago
|
|
WebSQL was killed by Mozilla and Microsoft.
A huge idiotic mistake, probably related to the anti RDBMS NOSQL sentiment and fashion at that time.
Browsers should ignore this crazy decision and keep (or add) SQLite in the browser - is still in Chrome but deprecated.
SQLite is faster and way more capable than Indexdb and free and open source and runs on all platforms and devices - at least keep it as an option. |
|
It doesn't matter that IndexedDB is less capable than SQLite, it matters that IndexedDB is a well defined standard that can be easily implemented and optimized independently by each browser. It was polyfillable on day one on Chrome's SQLite install, and the other browsers were free to choose where and how to implement IndexedDB.
Also, IndexedDB has gotten quite fast in recent browser versions and is only getting faster, thanks to the browsers being able to compete on how they optimize it (versus all of them trying to pass competing PRs to SQLite, or working on increasingly divergent forks of it).
A goal for IndexedDB was that it might be low level enough that you could build RDBMS database APIs on top of it (whereas you're hard pressed to build certain types of key/value stores or document stores more directly on top of SQLite). The Browsers weren't anti-RDBMS, they were anti-lock-in to a single vendor's bugs. Microsoft learned from their IE mistakes, and don't want Chrome to repeat them (as hard as Google sometimes seems to be trying to make the same mistakes).