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
Electron
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Eugene Oskin
January 20, 2018
Programming
48
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Electron
Eugene Oskin
January 20, 2018
More Decks by Eugene Oskin
See All by Eugene Oskin
Local Models for Coding
evgeneoskin
0
16
REST API. Django, Ruby on Rails, Play! Framework
evgeneoskin
0
100
Introduction to gRPC
evgeneoskin
0
110
GrailInventory – Advanced Backend Development
evgeneoskin
0
48
Bracing Calculator
evgeneoskin
1
76
emotional intelligence, part 2
evgeneoskin
0
49
Office temperature
evgeneoskin
0
45
Parse platform
evgeneoskin
0
110
Hubot
evgeneoskin
0
61
Other Decks in Programming
See All in Programming
なぜ関数型プログラミングで「型」と「証明」が語られるのか #fp_matsuri
kajitack
3
730
霧の中の代数的エフェクト
funnyycat
1
320
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
250
音楽のための関数型プログラミング言語mimiumにおける多段階計算の活用
tomoyanonymous
1
300
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
840
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1.2k
ローカルLLMでどこまでコードが書けるか -縮小版 / How much code can be written on a local LLM Shortened
kishida
2
180
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
4
1.6k
初めてのKubernetes 本番運用でハマった話
oku053
0
120
エンジニアにデザインハーネスを 〜デザインプロセスを規定するためのハーネス〜 / Design harness from an engineer's perspective
rkaga
2
1.2k
Creating Composable Callables in Contemporary C++
rollbear
0
200
Haskell/Servantを通してWebミドルウェアを捉え直す
pizzacat83
1
470
Featured
See All Featured
Leo the Paperboy
mayatellez
8
1.9k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
150
Music & Morning Musume
bryan
47
7.3k
The untapped power of vector embeddings
frankvandijk
2
1.8k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
270
How STYLIGHT went responsive
nonsquared
100
6.2k
Speed Design
sergeychernyshev
33
1.9k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
200
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.3k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
330
Transcript
Goedendag, Electron
Plan • Desktop App Development Problems? • Electron solutions •
Electron Problems
Desktop App Development Problems?
Desktop App Development Problems? • Cross platform • Installers •
Deliver • Testing
Desktop App Development Problems? • Cross platform? ◦ Cross compiling
(Qt and others) ◦ Java (Virtual) Machine ◦ Go
Desktop App Development Problems? • Installers ◦ UI: Windows, Mac
◦ Configure it
Desktop App Development Problems? • Deliver ◦ Stores ◦ Download
page ◦ Package managers ◦ AppDater?
Desktop App Development Problems? • Testing ◦ Behave Testing?
Electron solutions
Electron solutions • Cross platform • Installers • Deliver •
Testing
Electron solutions • Cross platform ◦ NodeJS + Chromium ◦
Native module requires rebuilding ▪ ./node_modules/.bin/electron-rebuild ◦ tray+menu out of the box ◦ Native UI? (try photonkit)
Electron solutions • Installers ◦ electron-builder ◦ electron-packager
Electron solutions • Deliver ◦ Stores ◦ Download page ◦
Package managers ◦ AutoUpdates with Squirrel (Window, MacOS) ▪ It requires backend (electron-release-server or github)
Electron solutions • Testing ◦ Spectron ◦ Karma
Electron Problems • Architecture (main process and renderers ) •
NodeJS in browser • IpcRenderer ↔ IpcMain with JSON ◦ Main process manages renderers • Desktop apps are complex…
Electron Problems • Binary size >= 100Mb, reducing requires recompiling
Chromium • JS boilerplate code • Frontend frameworks
Summary
Summary • Desktop App Development Problems • Electron solutions •
Electron Problems
References • http://electron.atom.io/docs/ • https://github.com/atom/atom/ • https://github.com/sindresorhus/awesome-electron • https://github.com/chentsulin/electron-react-boilerpl ate
• http://photonkit.com/ • https://github.com/maxogden/menubar