Book description
Electron is currently the most popular framework and runtime for creating cross-platform desktop applications with web technologies. Maintained by GitHub, Electron combines Chromium’s rendering library with Node.js and C++ to power apps such as Slack and Visual Studio Code. This short, hands-on guide introduces each aspect of developing and distributing your own apps with this framework.
Author Felix Rieseberg, a staff engineer at Slack, begins by explaining how Electron’s modules and APIs generally work. You’ll then learn how to build an app from ground up and how to integrate it with your operating system for a native user experience.
- Learn Electron’s fundamental patterns and most commonly used modules and APIs
- Build flexible user interfaces that can display windows in any size, shape, or opacity
- Understand the process for shipping an Electron app: packaging, creating installers, and enabling automatic updates
- Explore core considerations for developing apps with Electron: performance, community support, and framework shortcomings
Publisher resources
Table of contents
- 1. What Is Electron?
- 2. Introduction to Electron
-
3. Working with Electron
-
User Interfaces with BrowserWindows
- Showing Windows Gracefully
- Configuring the Web Page with webPreferences
- Multiple Windows and Threads
- Inter-Process Communication
- Performance Considerations
- Native Menus
- Native Dialogs
- Warning, Error, and Information Dialogs
- Open and Save Dialogs
- Native Notifications
- Ensuring Security
- Safely Displaying Remote Content
-
User Interfaces with BrowserWindows
- 4. Binaries, Installers, and Updates
- 5. Considering Electron
Product information
- Title: Introducing Electron
- Author(s):
- Release date: December 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491996027
You might also like
book
Electron Projects
A project-based guide to help you create, package, and deploy desktop applications on multiple platforms using …
book
Cross-platform Desktop Application Development: Electron, Node, NW.js, and React
Build powerful cross-platform desktop applications with web technologies such as Node, NW.JS, Electron, and React About …
article
Run Llama-2 Models
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …