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
Primeiros passos com Electron
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Raphael Porto
November 23, 2015
Programming
88
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Primeiros passos com Electron
Raphael Porto
November 23, 2015
More Decks by Raphael Porto
See All by Raphael Porto
A jornada do React Native na Globo.com
raphaelpor
2
550
Desvendando o Electron
raphaelpor
3
120
Other Decks in Programming
See All in Programming
AI駆動開発を妨げる技術的負債の解消アプローチ / ai-refactoring-approach
minodriven
17
9.1k
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
650
共通化で考えるべきは、実装より公開する型だった
codeegg
0
240
はてなアカウント基盤 State of the Union
cockscomb
1
1.3k
symfony/aiとlaravel/boost
77web
0
130
1B+ /day規模のログを管理する技術
broadleaf
0
140
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
170
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
1.1k
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
12
4.8k
AI がコードを書く時代における新卒エンジニアの仕事風景 (2026) / New Graduate Engineers in the Era of AI Coding (2026)
sushichan044
0
220
霧の中の代数的エフェクト
funnyycat
1
390
광주소프트웨어마이스터고등학교 DevFest 특강 - 바이브 코딩 시대에서 주니어 개발자로 살아남는 방법
utilforever
1
130
Featured
See All Featured
ラッコキーワード サービス紹介資料
rakko
1
3.9M
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Are puppies a ranking factor?
jonoalderson
1
3.7k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
[SF Ruby Conf 2025] Rails X
palkan
2
1.2k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Agile that works and the tools we love
rasmusluckow
331
22k
Optimising Largest Contentful Paint
csswizardry
37
3.8k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
So, you think you're a good person
axbom
PRO
2
2.1k
Transcript
Electron JS Primeiros passos
Quem sou? Raphael Porto @raphaelpor Cofundador da Desenvolvedor na Concrete
solutions Lithium
O que é o Electron? Framework para criar aplicações desktop,
usando tecnologias web como HTML, CSS e JavaScript.
Quem criou? GitHub
Para quê? Por isso, também é conhecido como Atom Shell
Atom Editor
Do que é feito? io.js + Chromium
Quem usa?
Instalação npm install ‐g electron‐prebuild
Estrutura do Projeto electrontestapp/ ├── package.json ├── main.js └── index.html
package.json { "name" : "electrontestapp" "version" : "0.1.0", "main" :
"main.js" }
index.html <!DOCTYPE html> <html> <head> <meta charset="utf8"> <title>Olá Mundo!</title> </head>
<body> <h1>Olá mundo!</h1> <small> io.js <script> </script> <br> Electron v<script> </script> <br> <script> </script> </small> </body> </html> document.write(process.version) document.write(process.versions['electron']) document.write(process.platform)
main.js var app = require('app'); var BrowserWindow = require('browserwindow'); require('crashreporter').start();
var mainWindow = null; app.on('windowallclosed', function() { if (process.platform != 'darwin') { app.quit(); } }); app.on('ready', function() { mainWindow = new BrowserWindow({width: 800, height: 600}); mainWindow.loadUrl('file://' + __dirname + '/index.html'); mainWindow.on('closed', function() { mainWindow = null; }); });
None
Acesse o código https://github.com/raphaelpor/electron-CS
Conheça mais - Electron Adventures - Awesome Electron - Electron
website