O'Reilly logo

Developing an Electron Edge by Max Gfeller, Troy Mott, Adam Lynch

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 4. Application Lifecycle

In the last chapter we covered how to use Node modules, and in the next chapter we will walk through creating a real-world application, but first we need to cover a few more essential Electron topics. In this chapter we look at the basic lifecycle of an Electron application. What happens when you start an application? And what happens when it stops running? At the end of the chapter you’ll know at which point during execution multiple handlers get initialized, and where you have to disconnect to databases.

Before your Code is loaded

Electron bundles a Chromium and a Node runtime to make it possible to write desktop applications using Web technologies. So what happens exactly when you start an Electron application? ...

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