Chapter 6. Exploring NW.js and Electron’s internals

This chapter covers

  • Understanding how NW.js and Electron combine Node.js and Chromium
  • Developing with Electron’s multi-process approach
  • Building with NW.js’s shared-context approach
  • Sharing state by passing messages

Although NW.js and Electron consist of the same software components, and Cheng Zhao has influenced the development of both, the two frameworks have evolved different approaches to how they function under the hood. Analyzing how they operate internally will help you understand what’s going on when you’re running an app and demystify the software.

In this chapter, we’ll look at how NW.js and Electron function internally. We’ll take a look at NW.js first to see how it combines ...

Get Cross-Platform Desktop Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.