Part 2. Diving deeper

 

After building a file explorer app with both NW.js and Electron, we’ll take a step back and cast our eyes on the programming framework behind them: Node.js. You’ll learn about its origins, how it works, and how it implements asynchronous programming. Then, we’ll explore some of Node.js’s key concepts such as callbacks, streams, events, and modules.

In chapter 6, we’ll continue on this theme by looking at how NW.js and Electron operate under the hood. You’ll see how the frameworks approach integrating Node.js with Chromium, how they handle managing state between the front-end and back-end parts of the app, and how they’re structured.

By the end of this part, you should be a in a good position to put Node.js to use in your desktop app as well as other Node.js apps, and you’ll understand how NW.js and Electron differ in their approaches to desktop app development.