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
Raphael Porto
November 23, 2015
Programming
87
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
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
150
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
230
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
120
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
100
AIで効率化できた業務・日常
ochtum
0
130
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
7
4.1k
Webフレームワークの ベンチマークについて
yusukebe
0
160
Inside Stream API
skrb
1
690
スマートグラスで並列バイブコーディング
hyshu
0
130
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
110
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
260
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
6.5k
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Building the Perfect Custom Keyboard
takai
2
790
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Crafting Experiences
bethany
1
180
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
Design in an AI World
tapps
1
240
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
350
Practical Orchestrator
shlominoach
191
11k
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