November 2011
Intermediate to advanced
320 pages
10h 18m
English
The proposals outlined in this section aim to enable new classes of web applications to be built on top of HTML and JavaScript.
Several APIs for creating and manipulating locally stored databases have been proposed over the years, including the notorious WebSQL API,[263] which would have brought the famously dangerous SQL syntax to client-side JavaScript. The WebSQL proposal was ditched in favor of a more sensible IndexedDB design,[264] which offers a clean API without serialized queries and has a security model comparable to that of localStorage—but not until WebSQL support had shipped in a couple of browsers. Meanwhile, the new API has shipped in Chrome and is expected to appear in Firefox.
Read now
Unlock full access