Electron in Action

  • 5h 28m
  • Steve Kinney
  • Manning Publications
  • 2019


Electron in Action guides you, step-by-step, as you learn to build cross-platform desktop applications that run on Windows, OSX, and Linux. By the end of the book, you'll be ready to build simple, snappy applications using JavaScript, Node, and the Electron framework.

About the Technology

Wouldn't it be great to build desktop applications using just your web dev skills? Electron is a framework designed for exactly that! Fully cross-platform, Electron lets you use JavaScript and Node to create simple, snappy desktop apps. Spinning up tools, games, and utilities with Electron is fast, practical, and fun!

About the Book

Electron in Action teaches you to build cross-platform applications using JavaScript, Node, and the Electron framework. You'll learn how to think like a desktop developer as you build a text tool that reads and renders Markdown. You'll add OS-specific features like the file system, menus, and clipboards, and use Chromium's tools to distribute the finished product. You'll even round off your learning with data storage, performance optimization, and testing.

What's inside

  • Building for macOS, Windows, and Linux
  • Native operating system APIs
  • Using third-party frameworks like React
  • Deploying to the Mac App Store

About the Reader

Requires intermediate JavaScript and Node skills. No experience building desktop apps required.

About the Author

Steven Kinney is a principal engineer at SendGrid, an instructor with Frontend Masters, and the organizer of the DinosaurJS conference in Denver, Colorado.

In this Book

  • About This Book
  • Introducing Electron
  • Your First Electron Application
  • Building a Notes Application
  • Using Native File Dialog Boxes and Facilitating Interprocess Communication
  • Working with Multiple Windows
  • Working with Files
  • Building Application and Context Menus
  • Further Operating System Integration and Dynamically Enabling Menu Items
  • Introducing the Tray Module
  • Building Applications with the Menubar Library
  • Using Transpilers and Frameworks
  • Persisting User Data and Using Native Node.js Modules
  • Testing Applications with Spectron
  • Building Applications for Deployment
  • Releasing and Updating Applications
  • Distributing Your Application Through the Mac App Store