19.3 Summary
With NW.js and Electron, it's relatively easy to create platform-independent desktop applications based on HTML, CSS, and JavaScript.
You should remember the following points from this chapter:
-
NW.js and Electron work similarly in principle, combining WebKit and Node.js.
-
Both frameworks allow you to use the DOM API and the various APIs of Node.js.
-
An HTML file is the entry point for NW.js; for Electron it’s a JavaScript file.
-
While in NW.js, Node.js and WebKit share a single JavaScript context, in Electron there are multiple contexts because there a distinction is made between the main process and renderer processes.
-
Both NW.js and Electron allow applications to be packaged for different operating systems and architectures. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access