concept approach in category electron

appears as: approach, approaches, The approaches, pproach, pproaches, The approach, n approach
Cross-Platform Desktop Applications: Using Node, Electron, and NW.js

This is an excerpt from Manning's book Cross-Platform Desktop Applications: Using Node, Electron, and NW.js.

The efforts to port Atom to node-webkit encountered difficulties (see https://github.com/atom/atom/pull/100), so they abandoned that approach. Instead, they decided to create a new native shell for Atom, which they called Atom Shell. This approach to combining WebKit with Node.js differed from the approach taken by node-webkit. Cheng Zhao focused all of his efforts into working on Atom Shell, which GitHub later open sourced shortly after open sourcing its text editor, Atom.

NW.js accommodates this difference in approaches by offering an API method specific to Mac OS and other methods for Windows and Linux. Electron, however, does not. It provides a single API method for creating app menus. We’ll look at these APIs with examples in both frameworks to compare their approaches.