SlideShare a Scribd company logo
1 of 30
Download to read offline
ELECTRON
wieloplatformowe aplikacje desktopowe
Jarosław Jarnot
CO TO JEST?
Electron to framework do tworzenia
natywnych aplikacji z wykorzystaniem
technologi webowych takich jak:
Javascript, HTML i CSS
https://electron.atom.io/
NOWY FRAMEWORK
PODSTAWOWE
INFORMACJE
• projekt Open Source rozwijany
przez GitHub
• wieloplatfomowość: (Windows,
Linux, Mac)
• napisany w C++ i JavaScript
• licencja MIT
strona www:
twitter:
repozytorium:
https://electron.atom.io
https://twitter.com/electronjs
https://github.com/electron/electron
KWIECIEŃ 2013 rozpoczęto pracę nad projektem Atom Shell
MAJ 2014 Atom Shell stał się projektem open sourcowym
KWIECIEŃ 2015 zmiana nazwy Atom Shell na Electron
MAJ 2016 opublikowano Electrona w wersji 1.0.0
MAJ 2016
kompatybilność Elektronowych aplikacji
z Mac App Store
SIERPIEŃ 2016 Windows Store wspiera Electronowe aplikacje
KWIECIEŃ 2017 opublikowano Electrona w wersji 1.6.7
KOMPONENTY
CHROMIUM
56.0.2924.87
NODE 7.40 V8 5.6.326.50
ELECTRON 1.6.7
ARCHITEKTURA
https://www.youtube.com/watch?v=WVb2OD49pUA
PROCESY
https://medium.com/@ccnokes/deep-dive-into-electrons-main-and-renderer-processes-7a9599d5c9e2
HELLO WORLD
HELLO WORLD
HELLO WORLD
HELLO WORLD
HELLO WORLD
HELLO WORLD
PRZYKŁADOWE APLIKACJE
ATOM
https://atom.io/
PRZYKŁADOWE APLIKACJE
VISUAL STUDIO CODE
https://code.visualstudio.com/
PRZYKŁADOWE APLIKACJE
BRAVE BROWSER
https://brave.com/
PRZYKŁADOWE APLIKACJE
POSTMAN
https://www.getpostman.com
PRZYKŁADOWE APLIKACJE
SLACK
https://slack.com/downloads/windows
PRZYKŁADOWE APLIKACJE
JAK ZACZĄĆ?
https://electron.atom.io/docs/
https://github.com/sindresorhus/awesome-electron
ELECTRON API DEMOS
https://github.com/electron/electron-api-demos
CLI do tworzenia aplikacji w elektronie.Zawiera szablony:- Vanilla ES6/7-
React- React + TypeScript- Angular 2- Vue.JS 2.0- Jade Templating
ELECTRON FORGE
https://beta.electronforge.io/
https://github.com/electron-userland/electron-forge
CLI do tworzenia aplikacji w elektronie.
Zawiera szablony:
- Vanilla ES6/7
- React- React + TypeScript
- Angular 2
- Vue.JS 2.0
- Jade Templating
CLI do tworzenia aplikacji w elektronie.Zawiera szablony:- Vanilla ES6/7-
React- React + TypeScript- Angular 2- Vue.JS 2.0- Jade Templating
PRZYKŁADOWE DODATKI
BUILD AND PACKAGE
1. electron-packager
2. electron-builder
AUTOMATIC UPDATES
3. nuts
4. electron-release-server
5. squirrel-updates-server
6. auto-updater
CRASH REPORTING
7. Socorro
8. mini-breakpad-server
USER-SET APPLICATION CONFIGURATION
9. electron-config
DEBUGGING
10. DevTron
TESTING
11. Spectron
https://nodesource.com/blog/fifteen-essential-packages-to-get-started-with-electron/
ELECTRON vs NW.JS
https://insights.stackoverflow.com/trends
http://freecontent.manning.com/electron-in-action-article-1/
STATYSTYKI
https://insights.stackoverflow.com/trends
https://github.com/electron/electron
STATYSTYKI
https://npm-stat.com/charts.html?package=electron&to=2017-05-11
DEMO
DZIĘKUJĘ ZA UWAGĘ
Jarosław Jarnot
jaroslaw.jarnot@vimanet.com
REFERENCJE
https://electron.atom.io/
https://github.com/electron/electron
https://en.wikipedia.org/wiki/Electron_(software_framework)
https://www.youtube.com/watch?v=WVb2OD49pUA
https://medium.com/@ccnokes/deep-dive-into-electrons-main-and-renderer-processes-7a9599d5c9e2
https://beta.electronforge.io/
https://nodesource.com/blog/fifteen-essential-packages-to-get-started-with-electron/
https://insights.stackoverflow.com/trends
http://freecontent.manning.com/electron-in-action-article-1/
https://npm-stat.com/charts.html?package=electron&to=2017-05-11

More Related Content

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Electron - wieloplatformowe aplikacje desktopowe