Paperback: 148 pages
Publisher: Pragmatic Bookshelf; 1 edition (December 5, 2013)
Product Dimensions: 7.5 x 0.3 x 9.2 inches
Shipping Weight: 12 ounces (View shipping rates and policies)
Average Customer Review: 4.2 out of 5 stars See all reviews (62 customer reviews)
I don't have enough positive things to say about this book. You start with the simplest callbacks, moving to asynchronous file I/O, to network patterns and slowly build up to rolling your own HTTP server. It's is so much more than "here is how you make a simple web app", but it shows that node is a general purpose evented platform--equally at home handling inputs on large-scale distributed systems, as well as embedded on small IoT devices. There is finally a book that teaches that Node.js is much more than a bare-bones webscale application server for hipsters, and I'm grateful for that.
I liked the book, but it felt rushed to me. I know the idea was to get right to the point and keep it short, but instead it feels under explained to me. It seems that part of the nature of working with Node is that you'll use a lot of modules, but they aren't very well explained in this book. He'll tell you which module to get, possibly give you a quick description of what the module is for and tell you the couple lines of code to use it, but if you really want to understand what is going on behind the scenes you'll have to do your research on every module.There are some issues with the code and module versions too. It mostly came down to needing to be 100% sure that you're using the same versions of the modules used when the book was written and not the current versions, but in a twist one of the bits of code required the dev release of node as the current version still doesn't support generator functions. Ultimately it was really good practice to have to debug bits of code, figure out version issues, read through the docs online etc... but I have friends that I wouldn't recommend this book to because they would be stumped when the code didn't work first time.So coming out the other side of this book I feel like I understand a lot more about node and I MIGHT be able to wrangle what I learned here into a working project, but I'm left feeling pretty green still. It's like a beginner book, that isn't particularly aimed at beginners.
Most node books I read follow the same progression from using node to serve http files, using express to build web services, accessing the file system, and so on and so on. This book however takes a fresh approach. While it covers the same areas, it adds messaging with ZeroMQ, authentication with Passport, ECMAScript 6 using harmony (including new features such as generators) and more. All in a manageable size that can be carried everywhere you go (it's so good you'll want to do that). If you're looking for something special in the node literature - be sure to check this out!
As others have said, it's out of date. For a book covering a relatively new and rapidly maturing technology like NodeJS, to rest on the laurels of the first release for 2 1/2 years is not acceptable. The lack of updates is most notable using modules which no longer work with the code examples. One must either refactor the code to work (being difficult for a reader of this book), or specifically load versions from over 2 years ago.I bought the book based on good reviews, but I'm feeling a bit dumb for not digging deeper. Yes, it has helped me learn node somewhat, but I feel there are better resources currently. If the author would release an update, the book could regain its former glory.
The book examples focus on Linux systems, and yet with some searching on the internet, I was able to complete all projects on Windows 7. The author expects much from the reader. For instance, each chapter introduced several npm packets that I spent several hours each reading about on the internet to understand them better. I don't fault the author for this: his job was to demonstrate how to use Node and one of the basic tools of any programmer is internet documentation. I have not read any other book introducing this topic, so I cannot compare, but I was very satisfied with my training when I had completed the book.
This book needs to be updated. Too many commands have been deprecated, or don't exist anymore. That makes it hard for a beginner to learn node, when they have to rewrite the code in the book to get it to work. Also, you pretty much need a Mac or to use Linux to follow along with the examples.
This book goes through some interesting ideas and helped me understand Node better. But it also left out some basic things like debugging. There have been quite a few changes given the development speed in JS and some examples will not work based on that. I would also not recommend this book if you are on Windows. This book is highly biased towards Mac and examples will have to painstakingly converted. This should have been avoided by the authors.
This book started out pretty good, but then it had me install zmq (Zero Message Queue) using npm (Node Package Manager). The error I got said I needed to install Visual Studio and a .NET SDK. I did, but got a different error, and a StackOverflow post said I should uninstall Visual Studio 2015 and install Visual Studio 2013 instead. What? It takes forever to install Visual Studio, so though I did uninstall it, I stopped there.So I guess my dissatisfaction is more with npm, which I have had problems with installing other Node modules.So I give this book a three because it interfered too much with my learning productivity.Update: in the section on processing rdf files and using CouchDB I got lots of errors. Fixed some, gave up on others.