Learn to build fast and scalable software in JavaScript with Node.js Node.js is a powerful and popular new framework for writing scalable network programs using JavaScript. This no nonsense book begins with an overview of Node.js and then quickly dives into the code, core concepts, and APIs. In-depth coverage pares down the essentials to cover debugging, unit testing, and flow control so that you can start building and testing your own modules right away.
Covers node and asynchronous programming main concepts Addresses the modules, buffers, events, and timers Explores streams, file systems, networking, and automated unit testing Goes beyond the basics, and shares techniques and tools for debugging, unit testing, and flow control If you already know JavaScript and are curious about the power of Node.js, then this is the ideal book for you.
My motivation for reading this book was simple. I needed a technology that would allow me to build backend as quickly as possible. There were 2 candidates for that: Ruby on Rails and Node.js. I’m not very proficient with Ruby, because of that learning a JavaScript-based technology was the most obvious choice for me.
The book is great. It’s neither small nor large. It has a perfect size of 4 hundred pages that can be easily digested throughout the week. Every chapter has an introductory for those who hadn’t an experience with technology it tells about. I was kinda amused with such small pieces of text about UDP and TCP. I’ve forgot a lot about the basics of what I usually do.
The book is full of small but useful examples from the real life. If you’ll cram through the book at a stallion pace (as I did) for the end of the week you would be able to build a small but full functional websites and back end systems using node.js&REST&NoSql. I did it as a hackathon project for less than 5 hours.
This is an excellent introduction to node.js programming. It assumes basic familiarity with javascript, thankfully, allowing the book to focus on node-specific packages, programming, and conventions.
The book is pretty well organized, with most chapters presenting the development of a node application. I found the chapter on web sockets especially interesting - this is something long overdue in web applications, and node has excellent support for the feature.
The node runtime model is pretty interesting: a single-threaded event-driven model in which there are no blocking api calls. This avoids most of the problems of multi-threaded applications while still providing a high level of concurrency.
The book concludes with three chapters on database interfaces in node. And that brings up one of the few criticisms I have of the book: I had the sense that the publisher wants great big thick books, so having three separate chapters about three database was just the ticket.
But the size and format of the book was not the author's fault, and the content was useful.
My major complaint is about the number of errors in the book, both in the text and in the printed code. Again: I blame the publisher for this. If you're going to take 85% of the book's revenues you really need to take some responsibility for copy editing and, sadly, this publisher simply failed.
Buon manuale introduttivo a Node.js, anche se l'avrei organizzato diversamente. A parte una breve introduzione sull'installazione, oltre 150 pagine vengono dedicate ai vari componenti del framework, in un modo un po' troppo astratto.
Finalmente nella parte 5 (capitolo 20) viene presentata un'applicazione di esempio, che viene spiegata molto bene e passo per passo.
La parte 6 (connessione ai DB) è molto sbilanciata verso MongoDB, mentre il capitolo su CouchDB è un po' ridotto, e quello su MySQL quasi inesistente.
Forse è vittima della velocità di crescita dell'ecosistema di Node.js. Nonostante sia un libro pubblicato meno di due mesi fa, tratta argomenti già vecchi (la versione 2 di express, mentre è già uscita la 3 che presenta alcune novità sostanziali, come la gestione dei template di pagina nei motori di templating). Probabilmente al momento in cui è stato scritto molte librerie non erano ancora stste scritte o abbastanza diffuse.
Consigliato per avere un'idea e una buona panoramica su molte funzionalità di base, ma da prendere con le pinze per la compatibilità.
This book is indeed a blessing for newbie web developers like. Pedro explains what, why and how of Node.js in detail.
The only drawback I see is, the advanced sections like developing app using Express.js are outdated. The book user v2.5 where as current version is v3.4.
great book with good examples. covered the material well. I have already developed in node before reading and still learned a good amount. I obviously suggest the newer version, but I found this historically rewarding. Processes and streams were the most interesting parts. I'm used to promises and async now so remembering the event loop was humbling.