Creating Desktop Applications with HTML5 Felicia O’Garro | Software Engineer | June 26, 2019
• Applications that are installed and run locally on your Desktop or Laptop computer • Unlike web applications you do not need the internet • Can access your hard drive and lower level features on your computer What are Desktop Applications? Creating Desktop Applications with HTML5
• Created by Github • Originally created for the Atom Text Editor • Open source • Compatible with Mac, Windows and Linux • Built with Chromium (tool used to build Chrome) and Node.js • Can be integrated with libraries and tools normally used for web applications Electron Creating Desktop Applications with HTML5
Applications built on Electron Creating Desktop Applications with HTML5
Applications built with Electron Creating Desktop Applications with HTML5
• Install Node.js • Setup a new project with NPM or Yarn • Install Electron • Launch using "electron .” Installation Creating Desktop Applications with HTML5
App Creating Desktop Applications with HTML5
• ready - emitted when electron has finished initializing • window-all-closed - emitted when the last window is closed • hide - hides all app windows without minimizing them • show - show windows after they are hidden • open-url - emitted when user wants to open a url App Creating Desktop Applications with HTML5
Browser Window Creating Desktop Applications with HTML5
Menu - Default Creating Desktop Applications with HTML5
Menu - Custom Creating Desktop Applications with HTML5
Hotkeys - Accelerators Creating Desktop Applications with HTML5
Notifications Creating Desktop Applications with HTML5
Child Windows Creating Desktop Applications with HTML5
Interprocess Communication - IPC Creating Desktop Applications with HTML5
• Stay up to date with the latest version of Electron • Evaluate Dependencies • Adopt secure coding practices • Do not change the security settings for web preferences Security Creating Desktop Applications with HTML5
• Executables for each platform • Package applications with Electron Packager • Set up a script and add icons for each platform Deployment Creating Desktop Applications with HTML5
Code Demos Header/Footer Creating Desktop Applications with HTML5
Resources Creating Desktop Applications with HTML5 • Electron • Electron Quickstart • Electron Packager • Openfin • Electron React Boilerplate • Angular Electron • Electron Packager Tutorial
Creating Desktop Applications with HTML5 THANK YOU!

Intro to Electron - Creating Desktop Applications with HTML5