Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Primeiros passos com Electron
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Raphael Porto
November 23, 2015
Programming
92
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
560
Desvendando o Electron
raphaelpor
3
130
Other Decks in Programming
See All in Programming
Domain-Driven Transformation
hschwentner
2
2.3k
Agents on Rails - Rails at Scale 2026
irinanazarova
0
550
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
210
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
420
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
260
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
2
480
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
270
残高管理から台帳サービスへの進化
artoy
1
200
Jetpack Compose Mechanisms
skydoves
3
810
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
1.8k
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
How to build a perfect <img>
jonoalderson
1
6.1k
Optimizing for Happiness
mojombo
378
71k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
540
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
570
Building AI with AI
inesmontani
PRO
1
1.3k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
30 Presentation Tips
portentint
PRO
1
430
Agile that works and the tools we love
rasmusluckow
331
22k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
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