Introduzione a Node.js

nasottola 108 views 14 slides Oct 24, 2017
Slide 1
Slide 1 of 14
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14

About This Presentation

Little introduction to Node.js


Slide Content

Introduzione a Node.js

Chi è Nicola Del Gobbo Developer C ontribute to

Cos’è Node.js Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine . Node.js uses an event-driven , non- blocking I/O model that makes it lightweight and efficient . Node.js ' package ecosystem ,  npm , is the largest ecosystem of open source libraries in the world.

APPLICAZIONI DISTRIBUITE VELOCIT Á DI SVILUPPO SCALABILIT Á PERFORMANCE - (Il core è scritto in C - C++ e basato su V8) Qual è lo scopo di Node.js

Cosa posso fare con Node.js WEB APPLICATION - REAL TIME MICROSERVICES CLI APPLICATION DESKTOP APPLICATION

I/O ASINCRONO SINGLE THREADED SEMPLICITY FIRST (Unix way) MODULARI T Á (CommonJS - ES6 v8.5.0 ) NPM COMMUNITY Caratteristiche di Node.js

Architettura di Node.js

Modello sincrono Blocco dell’intero processo oppure bisogna avare più stacks di esecuzione

Modello asincrono Il processo principale non viene mai bloccato . Non occorre usare nessuna strategia per gestire richieste concorrenti

Event Loop

Semplice e intuitivo basta seguire le guide presenti su http://nodejs.org Installazione Un altro ottimo reference per l’installazione è quello fornito da NODESOURCE https :// github.com / nodesource / distributions

ESEMPI

DOMANDE?

GRAZIE https :// github.com / NickNaso / gdg-cb-node-introduction Email : [email protected] Twitter : @ NickNaso Github : @ NickNaso