3 ms·
We need the WebSQL HTML5 standard - a client side relational database, somewhat comparable to the client side NoSQL offering IndexedDB. Chrome, Safari, Opera a
by frik 11y ago
We need the WebSQL HTML5 standard - a client side relational database, somewhat comparable to the client side NoSQL offering IndexedDB.
Chrome, Safari, Opera and their mobile counterparts have a WebSQL implementation. Absent are Firefox and IE/Edge. There is no technical reason not to implement it.
- gfodor 11y agoThis was presented at I/O this week: https://github.com/google/lovefield https://github.com/google/lovefield
- frik 11y agoThanks for the info! It seems Google see the need for it - great. Announcement from Nov 2014: http://google-opensource.blogspot.com/2014/11/lovefield-powerful-javascript-sql-like_17.html http://google-opensource.blogspot.com/2014/11/lovefield-powe... Video of a recent presentation: https://www.youtube.com/watch?v=wRiI4p5Uk4E https://www.youtube.com/watch?v=wRiI4p5Uk4E Lovefield actually uses WebSQL in certain cases: WebSQL backstore shall be considered a gap-stopping patch 18 and will be removed as soon as Apple fixes IndexedDB bugs in Safari. -- https://github.com/google/lovefield/blob/master/lib/backstore/web_sql.js https://github.com/google/lovefield/blob/master/lib/backstor... I wonder why the would remove WebSQL support? Isn't it faster to rely on a native C library in the case of Safari (WebSQL uses SQLite) than riding piggyback an SQL layer on top of IndexedDB on top of SQLite as it is the case in Firefox?