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
2
140
Node-Webkit
Creare applicazioni desktop con Node-Webkit di Cristian Bellomo
weLaika
February 10, 2015
Tweet
Share
More Decks by weLaika
See All by weLaika
Vuoi uno sviluppo mobile più veloce? Flutter è la via!
welaika
0
77
Come fa Kotlin a darti i super-poteri
welaika
0
110
The Blockchain
welaika
1
190
Postgre(No)SQL - A JSON journey
welaika
1
130
Docker su architettura ARM
welaika
2
120
Off the Rails, on the way to Hanami
welaika
0
88
Elixir di lunga vita.
welaika
0
110
Road to ES6
welaika
0
99
Javascript: le parti buone
welaika
0
260
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.8k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
4 Signs Your Business is Dying
shpigford
184
22k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
The Cost Of JavaScript in 2023
addyosmani
50
8.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Product Roadmaps are Hard
iamctodd
PRO
53
11k
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