Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Building Desktop Applications with Electron, Fl...
Search
Steve Kinney
March 08, 2016
270
0
Share
Building Desktop Applications with Electron, Fluent 2016
Steve Kinney
March 08, 2016
More Decks by Steve Kinney
See All by Steve Kinney
React_Performance__2022.pdf
stevekinney
0
21
React Performance v2
stevekinney
0
28
Introduction to Testing
stevekinney
0
140
Web Security, Frontend Masters
stevekinney
0
3.7k
Making Music with the Web Audio API, JSConf Colombia 2023
stevekinney
0
120
React and TypeScript, Turing School
stevekinney
0
360
Redux Workshop, 2021-05-05
stevekinney
2
2.2k
TypeScript and React Utility Types
stevekinney
1
210
A Gentle Introduction to GraphQL Resolvers
stevekinney
1
170
Featured
See All Featured
A Soul's Torment
seathinner
6
2.7k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
170
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
530
Deep Space Network (abreviated)
tonyrice
0
120
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
340
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Navigating Weather and Climate Data
rabernat
0
170
My Coaching Mixtape
mlcsv
0
100
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
Transcript
Building Desktop Applications with Node and Electron Steve Kinney —
@stevekinney Fluent 2016
http://bit.ly/fluent-electron
Hi. I'm Steve
http://turing.io
http://dinosaurjs.org
http://bit.ly/fluent-electron Introduction to Electron Building Two Applications • Fire Sale
• Clipmaster 9000
None
None
None
Electron (née Atom Shell)
Electron (née Atom Shell) A framework for building cross-platform desktop
applications with web technologies.
None
So, why would you want to use this Electron thing?
You want to build an application that has advanced permissions
like accessing the file system.
You want to build a small application that lives in
the user’s menubar or system tray.
You want to build an app that works well offline.
You want to be able to Command/Alt-Tab to your application.
You want to build a GUI for your Node application.
None
None
None
None
sindresorhus/caprine
Why is Electron so super cool?
None
Chrome Content Module HTML5 support GPU acceleration Blink and V8
Node 5.1.1 Filesystem access Native modules
None
None
Electron uses a pretty modern build of Chromium.
None
None
None
The web browser lives in a kind of sandbox with
a bunch of restrictions in place in the name of security.
None
None
Ugh. Gross.
Electron applications have all of the freedom of any other
Node process.
None
require(…);
None
None
None
hij1nx/levelui
None
None
None
None
None
None
None
None
None
None
muan/mojibar
How does Electron work?
npm install -g electron-prebuilt
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Inherently, offline first.
None
None
None
None
None
None
None
versus
None
None
None
None
None
None
None
No good.
None
electron.remote
None
None
None
None
None
None
None
None
None
Building a menu
electron.Menu
None
None
None
None
None
None
None
None
electron.globalShortcut
electron.globalShortcut
electron.globalShortcut
And more…
None
npm install -g electron-prebuilt
npm install menubar
None
None
Let's get started.
npm install -g electron-packager
None
None
npm install -g electron-accelerator
npm install -g electron-compile
The Future for Electron
None
sindresorhus/awesome-electron
None
http://turing.io http://dinosaurjs.org