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
Node-Webkit
Search
weLaika
February 10, 2015
150
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Node-Webkit
Creare applicazioni desktop con Node-Webkit di Cristian Bellomo
weLaika
February 10, 2015
More Decks by weLaika
See All by weLaika
Vuoi uno sviluppo mobile più veloce? Flutter è la via!
welaika
0
120
Come fa Kotlin a darti i super-poteri
welaika
0
160
The Blockchain
welaika
1
240
Postgre(No)SQL - A JSON journey
welaika
1
170
Docker su architettura ARM
welaika
2
160
Off the Rails, on the way to Hanami
welaika
0
130
Elixir di lunga vita.
welaika
0
170
Road to ES6
welaika
0
150
Javascript: le parti buone
welaika
0
300
Featured
See All Featured
Leo the Paperboy
mayatellez
8
2.2k
Docker and Python
trallard
47
4.2k
Practical Orchestrator
shlominoach
191
12k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
240
So, you think you're a good person
axbom
PRO
2
2.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
990
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
The Pragmatic Product Professional
lauravandoore
37
7.4k
Test your architecture with Archunit
thirion
2
2.4k
Transcript
Come creare applicazioni desktop usando le tecnologie del web node-webkit
CRISTIAN BELLOMO
[email protected]
node-webkit nw.js
CHE COS’È NODE-WEBKIT? Un sistema che permette di creare applicazioni
desktop cross-platform usando le tecnologie del web
CHE COS’È NODE-WEBKIT? • E’ un progetto open source •
Basato su Chromium e node.js • Creato e sviluppato da Intel Sorgenti, binari e documentazione su: https://github.com/nwjs/nw.js
CHE COS’È NODE-WEBKIT? Una versione modificata del browser Chromium
node-webkit <!DOCTYPE html> <html> <head> <title>Titolo</title> </head> <body> <div>Ciao mondo!</div>
</body> </html> HTML5, CSS, javascript CHE COS’È NODE-WEBKIT?
node-webkit … <script> var fs = require(‘fs’), files = fs.readdirSync(‘/‘);
files.forEach(function(file) { document.write(file); }); </script> … Integra le librerie di node.js CHE COS’È NODE-WEBKIT?
CHE COS’È NODE-WEBKIT? Permette di accedere a funzionalità di sistema
normalmente non disponibili in un browser: •Menu per le finestre •Notifiche •Tray icon •Clipboard •File dialog •Shortcuts •Trasparenza finestre •ecc.
CASI D’USO Multimedia Atraci Popcorn Time Soundnode
CASI D’USO IDE e editor di testi Haroopad Light Table
Code Assistant for Typescript
CASI D’USO Intel XDK
CASI D’USO Client per messaggistica e videochiamate Sqwiggle M2S SUM
CASI D’USO Videogiochi Game Dev Tycoon
CASI D’USO Le applicazioni sono cross-platform
CASI D’USO I videogiochi e le applicazioni vengono tranquillamente accettate
dall’AppStore, da Steam, ecc.
CASI D’USO Gli unici limiti: • fantasia • competenza nello
sviluppo di web app Altri esempi di applicazioni scritte con node-webkit su: https://github.com/nwjs/nw.js/wiki/List-of-apps-and- companies-using-node-webkit
Vediamo un po’ di codice…
FINE