NodeJS: Programmare Web-App Con Javascript: Programmazione Web, #3
By Kevin Lioy
()
About this ebook
La crescente popolarità di JavaScript ha portato molti cambiamenti e ha completamente rivoltato lo sviluppo web dei nostri giorni, modificandolo radicalmente.
Le cose che possiamo fare oggi sul web con JavaScript in esecuzione lato server, così come lato browser, erano difficili da immaginare pochi anni fa o erano incapsulate in ambienti particolari detti "sandbox" come Flash o Applet Java.
Le migrazioni a nuovi linguaggi di programmazione ci sono sempre stati infatti adesso è impensabile creare un CMS in Assembly così come in tanti altri linguaggi. I linguaggi di programmazione sono figli di un'esigenza pertanto se, per esempio, vuoi delle performance migliori forse è meglio programmare in C piuttosto che in Java.
Allo stesso modo Node.js è stato creato con uno scopo ben preciso.
Ryan Dahl, il creatore di Node.js, mirava a creare siti Web in tempo reale con funzionalità push, "ispirati da applicazioni come Gmail" quindi ha fornito agli sviluppatori uno strumento per lavorare con il paradigma I/O in modo non bloccante e guidato dagli eventi.
Kevin Lioy
Kevin Lioy has written more than a dozen books on programming and similar topics.
Other titles in NodeJS Series (3)
MySQL: Database SQL per Principanti: Programmazione Web, #1 Rating: 0 out of 5 stars0 ratingsPHP: Sviluppo Web Lato Server: Programmazione Web, #2 Rating: 0 out of 5 stars0 ratingsNodeJS: Programmare Web-App Con Javascript: Programmazione Web, #3 Rating: 0 out of 5 stars0 ratings
Read more from Kevin Lioy
Related to NodeJS
Titles in the series (3)
MySQL: Database SQL per Principanti: Programmazione Web, #1 Rating: 0 out of 5 stars0 ratingsPHP: Sviluppo Web Lato Server: Programmazione Web, #2 Rating: 0 out of 5 stars0 ratingsNodeJS: Programmare Web-App Con Javascript: Programmazione Web, #3 Rating: 0 out of 5 stars0 ratings
Related ebooks
NW.js Essentials Rating: 0 out of 5 stars0 ratingsNode Web Development, Second Edition Rating: 0 out of 5 stars0 ratingsDeploying Node.js Rating: 5 out of 5 stars5/5The JavaScript Journey: From Basics to Full-Stack Mastery Rating: 0 out of 5 stars0 ratingsLearning Single-page Web Application Development Rating: 0 out of 5 stars0 ratingsJump Start Web Performance Rating: 0 out of 5 stars0 ratingsMastering the Art of Node.js Programming: Unraveling the Secrets of Expert-Level Programming Rating: 0 out of 5 stars0 ratingsWebRTC Cookbook Rating: 0 out of 5 stars0 ratingsJavaScript for Beginners Rating: 5 out of 5 stars5/5Your First Week With Node.js Rating: 0 out of 5 stars0 ratingsUltimate Ember.js for Web App Development Rating: 0 out of 5 stars0 ratingsUltimate Node.js for Cross-Platform App Development Rating: 0 out of 5 stars0 ratingsNode.js: The Definitive Resource Rating: 0 out of 5 stars0 ratingsNode.js Cookbook: Practical recipes for building server-side web applications with Node.js 22 Rating: 0 out of 5 stars0 ratingsFull Stack Development Explained: From Frontend to Backend Rating: 0 out of 5 stars0 ratingsMERN Stack Course Book Rating: 0 out of 5 stars0 ratingsNode.js Blueprints Rating: 0 out of 5 stars0 ratingsIan Talks JavaScript Libraries and Frameworks A-Z: WebDevAtoZ, #4 Rating: 0 out of 5 stars0 ratingsReact Components Rating: 0 out of 5 stars0 ratingsNode.js: Tools & Skills Rating: 0 out of 5 stars0 ratingsApache Solr PHP Integration Rating: 0 out of 5 stars0 ratingsWebRTC Blueprints Rating: 0 out of 5 stars0 ratingsHybrid Mobile Development with Ionic Rating: 0 out of 5 stars0 ratingsNode Cookbook Rating: 0 out of 5 stars0 ratingsResponsive Design High Performance Rating: 0 out of 5 stars0 ratingsDevOps Mastery: Unlocking Core Techniques for Optimal Software Delivery Rating: 0 out of 5 stars0 ratingsInstant Highcharts Rating: 0 out of 5 stars0 ratings
Programming For You
SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Python: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5PYTHON PROGRAMMING Rating: 4 out of 5 stars4/5JavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Access 2019 Bible Rating: 5 out of 5 stars5/5Python Games from Zero to Proficiency (Beginner): Python Games From Zero to Proficiency, #1 Rating: 0 out of 5 stars0 ratingsBeginning Programming with C++ For Dummies Rating: 4 out of 5 stars4/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Microsoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsLearn Python in 10 Minutes Rating: 4 out of 5 stars4/5Learn SQL in 24 Hours Rating: 5 out of 5 stars5/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5Algorithms For Dummies Rating: 4 out of 5 stars4/5Python Projects for Everyone Rating: 0 out of 5 stars0 ratingsProblem Solving in C and Python: Programming Exercises and Solutions, Part 1 Rating: 5 out of 5 stars5/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5The 1 Page Python Book Rating: 2 out of 5 stars2/5
Reviews for NodeJS
0 ratings0 reviews
Book preview
NodeJS - Kevin Lioy
Sommario
Premessa
A chi si rivolge il libro
Cos'è Node.js?
Come funziona
Vantaggi di Node.js
Svantaggi di Node.js
Installazione
Le basi
require()
Oggetto process
Standard output
Standard input
Il ritardo nella programmazione asincrona
Moduli di Node.js
Il tuo modulo Node.js
NPM e package.json
Lettura e scrittura di files
Node.js frameworks
Express
Scenario pratico
Conclusione
Premessa
Con il passare degli anni le tecnologie si sono evolute e continuano ad evolversi tuttora perché cambiano le esigenze dei programmatori, degli utenti e di tutti coloro che ruotano intorno al mondo dell'IT. La crescente popolarità di JavaScript ha portato molti cambiamenti e ha completamente rivoltato lo sviluppo web dei nostri giorni, modificandolo radicalmente. Le cose che possiamo fare oggi sul web con JavaScript in esecuzione lato server, così come lato browser, erano difficili da immaginare pochi anni fa o erano incapsulate in ambienti particolari detti sandbox
come Flash o Applet Java.
Le migrazioni a nuovi linguaggi di programmazione ci sono sempre stati infatti adesso è impensabile creare un CMS in Assembly così come in tanti altri linguaggi. I linguaggi di programmazione sono figli di un'esigenza pertanto se, per esempio, vuoi delle performance migliori forse è meglio programmare in C piuttosto che in Java. Allo stesso modo Node.js è stato creato con uno scopo ben preciso e lo scopriremo nel corso di questo libro.
Ryan Dahl (che è il creatore di Node.js), mirava a creare siti Web in tempo reale con funzionalità push, ispirati da applicazioni come Gmail
quindi in Node.js ha fornito agli sviluppatori uno strumento per lavorare con il paradigma I/O in modo non bloccante e guidato dagli eventi. Come abbiamo detto Node.js è particolarmente efficace con il paradigma I/O che è semplicemente il metodo di comunicazione basato su input/output.
A chi si rivolge il libro
Node.js è perfetto nelle applicazioni web in tempo reale che utilizzano la tecnologia push tramite Web socket quindi finalmente possiamo avere applicazioni web con connessioni bidirezionali in tempo reale, in cui sia il client che il server possano avviare la comunicazione, consentendo loro di scambiare dati liberamente. Con tutti i suoi vantaggi, Node.js ora svolge un ruolo fondamentale nello stack tecnologico di molte aziende di alto profilo che dipendono dai suoi vantaggi unici.
Come avrai ben capito Node.js è adatto per molti scenari, puoi usarlo per fare streaming di dati, costruire SPA ovvero applicazioni Web a singola pagina, ma anche chat, dashboard e ovviamente applicazioni real-time come un'applicazione per vedere l'andamento della borsa in tempo reale.
Questo libro ti fornirà un'introduzione approfondita a Node.js, ma ci sono un paio di cose che dovresti conoscere prima di iniziare. Prima di tutto, Node.js è JavaScript, quindi devi avere un po' di familiarità con JavaScript per poter lavorare con successo con Node.js. Infine, dal momento che qui abbiamo a che fare con JavaScript lato server, alcune conoscenze operative della riga di comando sarebbero utili. Se ti senti a