O'Reilly logo

Cross-Platform Desktop Applications: Using Node, Electron, and NW.js by Paul B. Jensen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required