Chapter 4. Data Persistence Solutions and Other Browser Web APIs
Lately, when talking about Browser Web APIs, we often refer to them with the general term HTML5 APIs. This is due to the fact that the new HTML5 standard has brought a breath of fresh air in web application development. Things like WebSockets, Canvas, video, and web storage were cumbersome and difficult to achieve before the advent of HTML5.
Actually, Browser Web APIs are a set of APIs that include standard JavaScript APIs, XMLHttpRequest, WebKit APIs, V8 APIs, HTML5, and other emerging APIs.
As you can imagine, Chromium Web APIs give you an incredible number of tools to build your applications, from custom input fields (date, e-mail, and so on) to real-time push notifications through WebSockets. However, for the sake of brevity, in this chapter, we're going to deal only with those APIs that come in particularly handy in NW.js desktop application development. We will walk through the various solutions to store...