
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Smashing Node.js: JavaScript Everywhere 2nd Edition
Smashing Node.js: JavaScript Everywhere equips you with the necessary tools to understand Node.js and its uses in developing efficient web apps. With more traditional web servers becoming obsolete, having knowledge on servers that achieve high scalability and optimal resource consumption using Node.js is the key to your app development success. Teaching you the essentials to making event-driven server-side apps, this book demonstrates how you can use less space and take less time for communication between web client and server.
- Contains numerous hands-on examples
- Explains implementation of real-time apps including Socket.IO and HTML5, and WebSockets
- Addresses practical Node.js advantages from specific design choices
- Demonstrates why knowledge and use of JavaScript is beneficial
- Includes an interactive online component with sample chapters
- Explains components of stand out apps including brevity and benchmarks
Looking to enhance your abilities even further? Smashing Node.js: JavaScript Everywhere makes developing server-side apps accessible with its focus on JavaScript, open source, and easy-to-use language.
- ISBN-101119962595
- ISBN-13978-1119962595
- Edition2nd
- PublisherWiley
- Publication dateSeptember 4, 2012
- LanguageEnglish
- Dimensions7.4 x 0.7 x 9.2 inches
- Print length320 pages
Frequently purchased items with fast delivery
Editorial Reviews
From the Back Cover
From the World’s Number One Resource for Web Designers and Developers – The Ultimate Guide to the Technology That’s Taking the Web Development World by Storm
Node.js is a powerful web development framework written in JavaScript that makes it simpler and easier than ever to develop robust, highly-scalable server-side web apps. Smashing Node.js shows you what Node.js is and how to put it to work on your next project. Packed with real-world examples that demonstrate why Node.js is quickly becoming the tool of choice among web developers everywhere, it gets you quickly up and running with the knowledge and skills you need to:
- Make sense of Node’s Event-Loop Architecture, Non-Blocking I/O, and Event-Driven Programming
- Master the Ins and Outs of Node’s Apis
- Effortlessly Implement Real-Time Technologies, Such as Shocket.IO and HTML5 Websockets
- Program Apps That Scale Up to Support Vast Numbers of Simultaneous Connections Across Multiple Servers
- Leverage Node’s Ability to Support an Array of Database and Data Storage Tools
- Write Code That Can Handle Tens of Thousands of Connections at a Time—On One Machine
- Interact in Real-Time With Other Developers on a Companion Web Site Featuring Additional Chapters and More Annotated Examples—Source Code Included
Beautifully illustrated with tons of full-color illustrations and packed with useable source code, Smashing Node.js is your total guide to the revolutionary web development tool.
About the Author
Guillermo Rauch is CTO and co-founder of San Francisco-based education startup LearnBoost. He is the inventor of several renowned Node.js projects, and he has been a speaker at JSConf as well as Nod.js workshops.
Product details
- Publisher : Wiley; 2nd edition (September 4, 2012)
- Language : English
- Paperback : 320 pages
- ISBN-10 : 1119962595
- ISBN-13 : 978-1119962595
- Item Weight : 1.6 pounds
- Dimensions : 7.4 x 0.7 x 9.2 inches
- Best Sellers Rank: #4,241,549 in Books (See Top 100 in Books)
- #1,315 in JavaScript Programming (Books)
- #4,961 in Computer Programming Languages
- #14,683 in Programming Languages (Books)
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the book's concepts clearly explained and consider it an excellent introduction to Node.js, with one customer noting it provides a good overview of core functionality. The writing quality receives mixed feedback, with some customers describing it as well-written while others find it poorly edited. Moreover, the code quality is criticized for containing errors in example code, and customers report that the functionality doesn't work as intended.
AI-generated from the text of customer reviews
Select to learn more
Customers find the book's content clear and concise, serving as an excellent introduction to Node.js.
"I did appreciate this book by Rauch G. a lot. It is concise, it is to the point and it introduces a lot of simple but robust patterns to help..." Read more
"...But beyond these small things its a excellent book to learn Node JS from. Really digs in from the Javascript in general and works its way up...." Read more
"...This book has been a great beginners look at Node.js with some of the ancillary connectors...." Read more
"...It's approach, by gradually introducing you to Node's features, solving problems and refactoring, matches pretty much the way I learn...." Read more
Customers appreciate the book's coverage of Node.js, with one customer noting it provides a good background and overview of core functionality, while another mentions it offers great modules for projects.
"...After reading this book, I feel confident to implement applications in Node and am doing so now." Read more
"...you can get past the typos and grammar issues, it's the best way to get started with Node.js that I've found. PROS:..." Read more
"This book gives good background on Node.js and details on why things are the way they are...." Read more
"Good overview of core node functionality, javascript in general, and great modules to use for node projects (etc. socket.io, mysql integration)" Read more
Customers find the book useful, with one noting it is to the point and another mentioning it contains good gems.
"I did appreciate this book by Rauch G. a lot. It is concise, it is to the point and it introduces a lot of simple but robust patterns to help..." Read more
"There's some good gems in here. If you are really new to programming, this book will be fine. I was looking for something a little beyond the docs...." Read more
"...I found it more useful than other Node books...." Read more
"Useful but disappointing in 2013...." Read more
Customers have mixed opinions about the writing quality of the book, with some finding it well written and good, while others report it being poorly edited.
"...Respect, Mr. Rauch. Always to the point, simply and clearly. It will make of this book a reference about using Node.js, efficiently !..." Read more
"...samples are provided: in little snippets at a time, out of order or out of context entirely, with seldom-provided final code listings...." Read more
"The book is really well written. Very few errors in it...." Read more
"...I love the author's work, but the transcription to Kindle leaves something to be desired. I can't read Figure 1-4. It's just too small...." Read more
Customers criticize the book's code quality, with multiple reviews mentioning errors in example code and mistakes throughout the text.
"...The one thing it does that i don't like is it has you write a block of code and than later replace that code with some different code...." Read more
"...Worse than that is the extremely haphazard way that code samples are provided: in little snippets at a time, out of order or out of context entirely..." Read more
"...and I found at least 2 coding mistakes. He definitely knows his stuff but I don't think he's the best teacher...." Read more
"...Usually I cannot spot grammer errors but in this case, it's just terrible. Go buy a Manning book instead." Read more
Customers have mixed experiences with the book's functionality, with some reporting that the code samples do not work.
"...All but the most simple examples do not work. The twitter feed example is somewhat understandable because they changed their API to not support REST...." Read more
"...I've run across a number of the code samples that simply do not work...." Read more
"...I am stuck on chapter 4 because the demo code used by the author does not work when I compile it and I have no way to reach out and find a solution..." Read more
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on September 19, 2012I did appreciate this book by Rauch G. a lot.
It is concise, it is to the point and it introduces a lot of simple but robust patterns to help us start building more sophisticated applications using Node.js.
I have really appreciated the laconic style of these writings.
The book is implicitly opinionated about certain "modules", the mentioned one are obviously Rauch G.'s choice... for good reasons certainly.
To conclude, the design of the book has been made to be as educational (progressive learning, don't skip any chapter and in the end you will have acquired a consistent and practical know-how) as possible, and it is a real success. Respect, Mr. Rauch. Always to the point, simply and clearly. It will make of this book a reference about using Node.js, efficiently !
Highly recommended. (I am a french consultant in software quality and enjoy developing web app.,... as a hobby).
- Reviewed in the United States on February 21, 2013The book is really well written. Very few errors in it. The one thing it does that i don't like is it has you write a block of code and than later replace that code with some different code. If you don't have the example code or been writing it as you read it, it is very hard to follow sometimes. The MongoDB module wasn't covered all that thorough either. But it's enough to get your foot in the door and figure out the rest of what you need. But beyond these small things its a excellent book to learn Node JS from. Really digs in from the Javascript in general and works its way up. I have several books on the subject and so far this is my favorite one.
- Reviewed in the United States on July 11, 2013I'd rate this book as "better than nothing," but I'd be hard-pressed to recommend it.
Not yet through the book, which I do intend to finish, there have already been two major project examples that rely on a twitter api that is two generations retired; these sample projects can never succeed. Moreover, there seem to have been a few significant releases of node.js and its own specifications as the minimalist packages.json file examples provided no longer run cleanly. They do work, but they aren't pretty doing it.
Worse than that is the extremely haphazard way that code samples are provided: in little snippets at a time, out of order or out of context entirely, with seldom-provided final code listings. If we're trying to follow along, make sure the code that we're supposed to be using is clearly marked as such (and distinguishable from illustrative segments not related to the grander project) and in sequence whenever possible (which should be always).
Lastly but again regarding the sample code, I can't speak to whether this is a possible ebook oddity, but commas should always end a line and precede a newline, never begin a line of code. That and the conditional "value == variable" syntax (which is purely the author's doing and cannot be attributed to the book's format) make my eyes bleed.
I won't rate this book worthless as I am indeed learning node.js while moving through it. I merely wish I didn't have to fight the book so much to do so.
- Reviewed in the United States on February 13, 2014There is a bit of raving about node and Javascript all about. I have been in the industry for 2 years, learning an abundance of tools, Java, Objective C, C#, Python, PHP, Perl, Biz Talk, Jboss, tomcat, bunch of DBs.. I have learned a lot and have not mastered anything. Out side of work, my personal project was written in Java with Java server Faces as my front end MVC, and I have began to rewrite it with the MEAN stack. (Mongo DB, Express.js, Angular.js, Node.sh)
With little to no understanding of java script I wanted to learn something new and different. This book has been a great beginners look at Node.js with some of the ancillary connectors. I have moved up a level to this book most recently: SINGLE PAGE WEB APPLICATION - JOSH C. POWELL MICHAEL S. MIKOWSKI (PAPERBACK) NEW
Code ON! and Good LUck!
- Reviewed in the United States on September 17, 2012I ordered this book a couple of weeks ago and it said it was backordered for a few weeks. Then it shipped in a few days. Judging by the spelling errors and lack of cohesive layout I can see why.
I have 3 other 'Smashing' books and they all are well written and bring things together.
In my opinion Node.js is such a different way of looking at coding server side that I would have been better served if I could have found a book which started and finished with a comprehensive app. I am looking to write real world apps and the example you get to is a file/directory lister on page 52 - that's not real world to me.
Real world is database/data store back end, serving up user requests for data, that kind of thing.
The chapters assume that just by listing out javascript and node.js script that you are learning it though there are no examples or I should say one liners as you go.
I am going to finish the book but I feel I am going to need to go back and revisit node again with other training material.
- Reviewed in the United States on September 7, 2012Seems to be a great Introduction to node.js so far. I have only had the book for a few days but so far I really like the way it is organized and seems to progress through learning node at a descent pace. I have some experience with Javascript (vanilla and jQuery) but I still consider myself a beginner. However, I havent had any problems getting the examples to work. I researched quite a few books before pre-ordering this one and I believe this one to be one of the better ones.
- Reviewed in the United States on October 2, 2012I just bought the Kindle version a couple of hours ago for my job. I love the author's work, but the transcription to Kindle leaves something to be desired. I can't read Figure 1-4. It's just too small. There doesn't seem to be any way to enlarge it. I have the most recent Kindle-on-PC.
I just a moment ago bought the paperback version to supplement when I can't read the Kindle version. But I shouldn't have to do that.
Rick
- Reviewed in the United States on January 7, 2013I have been following Node for a while and the online tutorials generally only get you so far. After reading this book, I feel confident to implement applications in Node and am doing so now.
Top reviews from other countries
- Joel C. K. ChuReviewed in the United Kingdom on November 21, 2013
4.0 out of 5 stars Great introduction of node.js
First of all, I don't find those example are hard to read (someone here say it should be color coded. Well, please learn how to code in a console. It will do you a lot of good - it train your eyes to be 10 times faster).
One of the cool thing about the book is - like many Smashing Magazine's book (this is my 7th book from Smashing Magazine). They start from real world problem. They waste no time in covering things that - seriously you might not use in a million years, or impress your next boss. Instead they answer all my questions - as if they have been listening to all my ranting :) So thanks guys.
If you want to learn about this ground breaking technology - look no further, this is the first book you should read.
-
PragmateekReviewed in France on May 28, 2013
5.0 out of 5 stars Une introduction complète et concrète
Une excellente introduction à Node et son écosystème, progressive et structurée très logiquement, chaque partie découlant de la précédente.
Les exemples sont courts et simples, souvent impressionnants : l'écriture d'un petit client Twitter en quelques dizaines de ligne en fait partie.
Le livre va droit au but, sans digressions, tout a son importance; il fait donc un bon livre de référence.
- S. BurnsReviewed in the United Kingdom on December 23, 2012
4.0 out of 5 stars Scruffy Examples
The example code in this book is difficult to use, because (a) it's not colorized, (b) it dots around a bit, moving on (in the first example) to refactoring the code before you even have a working program, and (c) there is no presentation of the complete code at the end of the examples. It would really help to have links to online, colorized versions of the code showing the full progression of the examples. It would then be possible to cut-and-paste it into an editor, and allow the reader to see how the whole program fits together.
Apart from this, I really like the book and it's getting me over some of my "blocks" about writing asynchronous code, JavaScript, etc. If the code presentations were improved and augmented with web resources, I feel it would merit the full five stars.
- FCM SOFTWAREReviewed in the United Kingdom on September 7, 2013
4.0 out of 5 stars Summary
Just what it said on the tin, informative and clear with deep explanations of how it all works.
Covers just about everything I wanted to know to get going with node.js and sockets.io.