Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Node.js in Action [Paperback]

Mike Cantelon , Marc Harter , TJ Holowaychuk , Nathan Rajlich
5.0 out of 5 stars  See all reviews (1 customer review)
List Price: CDN$ 47.99
Price: CDN$ 29.78 & FREE Shipping. Details
You Save: CDN$ 18.21 (38%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 5 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Tuesday, July 15? Choose One-Day Shipping at checkout.

Book Description

Nov. 28 2013 1617290572 978-1617290572 1

Summary

Node.js in Action is an example-driven tutorial that starts at square one and guides you through all the features, techniques, and concepts you'll need to build production-quality Node applications. You'll start by learning how to set up your Node development environment, including loading the community-created extensions. Next, you'll run several simple demonstration programs where you'll learn the basics of a few common types of Node applications. Then you'll dive into asynchronous programming, a model Node leverages to lessen application bottlenecks.

About this Book

JavaScript on the server? You bet. Node.js is a JavaScript server capable of supporting scalable, high-performance web applications. Using asynchronous I/O, the server can do more than one thing at a time, a key requirement for real-time apps like chat, games, and live statistics. And since it's JavaScript, you use the same language end to end.

Node.js in Action shows you how to build production-quality applications. Clear introductions of key concepts and example-by-example coverage take you from setup to deployment. You'll dive into asynchronous programming, data storage, and output templating, and interact with the filesystem to create non-HTTP applications like TCP/IP servers and command-line tools. Perfect for a web developer transitioning from Rails, Django, or PHP. Requires basic knowledge of JavaScript. No prior experience with Node.js needed.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

What's Inside

  • Set up Node and extensions
  • Grok asynchronous programming and the event loop
  • Examples including microblogging, IM, games, and more

About the Authors

As skilled practitioners, expert teachers and trainers, and contributors to the core framework, authors Mike Cantelon, Marc Harter, T.J. Holowaychuk, and Nathan Rajlich represent the best of the Node.js development community.

Table of Contents

    PART 1 NODE FUNDAMENTALS
  1. Welcome to Node.js
  2. Building a multiroom chat application
  3. Node programming fundamentals
  4. PART 2 WEB APPLICATION DEVELOPMENT WITH NODE
  5. Building Node web applications
  6. Storing Node application data
  7. Connect
  8. Connect's built-in middleware
  9. Express
  10. Advanced Express
  11. Testing Node applications
  12. Web application templating
  13. PART 3 GOING FURTHER WITH NODE
  14. Deploying Node applications and maintaining uptime
  15. Beyond web servers
  16. The Node ecosystem

Frequently Bought Together

Node.js in Action + Secrets of the JavaScript Ninja + JavaScript: The Good Parts
Price For All Three: CDN$ 73.65

Show availability and shipping details

  • In Stock.
    Ships from and sold by Amazon.ca.
    FREE Shipping. Details

  • Secrets of the JavaScript Ninja CDN$ 25.07

    In Stock.
    Ships from and sold by Amazon.ca.
    FREE Shipping. Details

  • JavaScript: The Good Parts CDN$ 18.80

    In Stock.
    Ships from and sold by Amazon.ca.
    FREE Shipping on orders over CDN$ CDN$ 25. Details


Customers Who Bought This Item Also Bought


Product Details


Product Description

About the Author

Mike Cantelon is a web programmer with 10 years of experience in bespoke and product-oriented web application development

Marc Harter is a passionate JavaScript developer with deep experience in event-style programming. He works daily on large scale projects including high availability real-time applications, streaming interfaces, and other data intensive systems.

T.J. Holowaychuk is a prolific open-source engineer who has backed Node since its infancy. He has also authored many robust Node.js modules, including the popular Express web framework, Cluster, Stylus, and Jade, among many others.

Nathan Rajlich is an active Node developer who has been working with Node since its early days. He has authored an impressive collection of Node modules including NodObjC and maintains a port of Node that runs on Apple's iOS.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
5.0 out of 5 stars
5.0 out of 5 stars
Most helpful customer reviews
1 of 1 people found the following review helpful
5.0 out of 5 stars Pretty Good Oct. 31 2013
Format:Paperback
Really hesitating between giving this book 4 and 5 stars. Ideally, I'd give it 4.5 stars if Amazon allowed me to.

This is the second book I've read about Node.js (technically, I read half of one before) and it is much much better than the first.

I find it lacks some of the intellectual rigor of other books I've read: some key concepts are explained too late in the book (ex: waiting until mid-way through the book to discuss the nuance of the __dirname variable as an aside), the API or functionality is sometimes not completely clarified and overall, the book is probably too ambitious in terms of material covered for it's width (it probably could have used an extra hundred pages or two), for example when talking about the testing libraries or the security libraries for Connect.

Overall though, the book explain things with enough clarity that you should quickly gain a working understanding of Node.js and I love the author's emphasis on the important things. This became apparent when the book discussed the sequencing of asynchronous logic. The previous book I read discussed a handful of patterns in a very messy way. This book stuck to the essentials and explained it well and in a manner that made it more accessible, because let's get real: it isn't rocket science and it shouldn't be taught like it was. The authors are competent teachers.

Also, the scope of topics covered in this book is pretty solid. At the very least, it will give you an intro on anything you need to know to get started on a project or at least, anything I needed to know and then some. I should probably add here that when I write that, I assume of course that you are familiar with web development (both from a client and server perspective).
Read more ›
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.5 out of 5 stars  37 reviews
25 of 26 people found the following review helpful
5.0 out of 5 stars Server-Side Javascript Platform Clearly Explained Dec 4 2013
By ronstern314 - Published on Amazon.com
Format:Paperback|Verified Purchase
I am a dinosaur from the days of batch processing with Cobol programs on IBM mainframes. I wanted to build a new modern website for the small manufacturing company I now work for. HTML5 and client-side Javascript were fairly easy to pick up, but I had little experience with the server side of things, especially when it comes to interactive versus batch. I was relieved to discover Node.js, which allows server-side programming in Javascript. (I wasn't sure I could handle learning ANOTHER language (like PHP) at this point.) The online documentation for Node.js and its extensions is not (at the time, at least) geared to beginners, so thank goodness for "Node.js in Action." The book is clear and each chapter builds upon the previous one, gradually introducing new abstractions and program sophistication. This book is pretty much a "must have" for programmers new to Node.js, but make sure you have a good grounding in Javascript before you pick it up.
20 of 23 people found the following review helpful
2.0 out of 5 stars A jumbled intro to Node Feb. 5 2014
By scott - Published on Amazon.com
Format:Paperback|Verified Purchase
I was really looking forward this book, but was disappointed. While the book has good code examples, there's very little coordination among chapters. It has 4 authors or so, and it shows. I was hoping for a more big picture view of Node (e.g., how best to organize a web app, or best practice as to what goes in /routes, app.js etc.) but the text reads like a compendium of short stories, one unrelated to the next. Buy this book for code snippets, not for the big picture.
8 of 8 people found the following review helpful
4.0 out of 5 stars Good book for novice nodejs developers Dec 9 2013
By Perri Orlando - Published on Amazon.com
Format:Paperback
I've just started learning nodejs and this is not the first book I read about the topic.

I found out this is the best book I've read so far on the topic.
It starts from the very beginning and guide you through the whole development process.
It doesn't delve deep into low level details but I think this is due to target audience for this book.

It explains you the basics and there are a lot of good examples to get you started.

Nodejs is very extensible and there are a lot of useful packages. The book tries to cover the most useful in the daily usage.

The only bit I didn't like a lot is the development of the first application, it comes to early in the book and doesn't really help in understanding the language.

The rest of the book is well done. I'd advice this book to all nodejs novice who want to get ready to use it quickly.
7 of 8 people found the following review helpful
5.0 out of 5 stars A great beginners guide to Node.js Nov. 19 2013
By James Wright - Published on Amazon.com
Format:Paperback
I bought this book as part of my attempt to choose the best framework for replacing my aging and bloated JSF applications front end with.

My Javascript experience is reasonably limited so I found the first few chapters at times hard going to follow and understand as Nodes functional nature is a vastly different approach from the standard java applications I'm used to. However running the examples which were all relevant and easy to get working made it simple for me to eventually get my head round and I soon began to see the real power and flexibility that the Node framework and its functional non blocking structure has to offer.

I found the first section fascinating as I learnt the basics of Node but remember thinking at the time that it wasn't a viable candidate for my initial goal of finding a new UI framework for my existing application as it would involve an almost complete rewrite, and even after reading section 2 covering the Connect and Express modules which do make web applications simpler to implement that opinion still stands. That said though if I was to start writing a new application tomorrow I would definitely consider writing it in Node.

I thought the book itself as a guide to get a Node newbie like me up and running quickly whilst covering all the basics was excellent. It flowed well and kept me hooked until the end, I have tried all of the examples which whilst reasonably simple were all relevant and useful. In particular the shoutbox application created in chapter 9 I thought would give any application developer enough of a starting point to get up and running very quickly. This book has not only left me feeling confident that I could write Node applications straight away it makes me excited at the prospect of doing so.

I would recommend this book to anyone wanting to learn Node.js from scratch with a view to creating web applications as that seems to me to be the main focus of the book. It is certainly not a low level technical reference guide for Node but it never claims to be so if you are already using Node and are looking for an in depth low level Node manual its probably not for you but it was perfect for what I needed.
2 of 2 people found the following review helpful
4.0 out of 5 stars A good overview of nodejs Dec 8 2013
By josephine liang - Published on Amazon.com
Format:Paperback
I tried to use nodejs to create a REST API at the beginning of the year. Since I was new to nodejs, I searched about node and pieced different information together, what middleware to use and the pros and cons of using this one rather than that one. What combination of middle ware to use et al to even start coding. However, there was still in the back of the mind, there is some uneasiness Yet, I did not have the luxury of time (like most of the projects we do), I could not spend all my time testing and checking on all related modules, it would be fun to do though.

I find this book very informative. It fills that gap. It has a good overview of many useful modules. It has a good overview of nodejs. The division of the book is also quite good starting from the fundamental of node, which gives good explanation of what node is good for and what it’s not suited for. Next, It has useful discussion of the nodes middleware and the express framework, testing, templating and I personally like the discussion of things what node can do beyond the web.

The section also made it convenient for different level of nodejs readers, people can easily jump over the earlier sections and go to the section they need without a feeling of knowledge gap if they already know the stuff discussed earlier.

I like the in place code explanation of the book, that makes it pleasant to read through the code, in addition, it also made it a smooth reading experience, reader does not have to jump from one section to another.

I am a bit annoyed by the small explanation of other technologies when it tried to introduce a module. For example, when it was trying to introduce a mysql module, it would spend sometime to skim about what mysql is. I thought that was a bit scattered, however, it can be still useful. I guess it really depends on the person’s reading style. Some people may like to have a bit of summary. I personally find it a bit distracting sometimes.

Another thing I would like to see is a sample project from simple to more complexed by interweaving the usage of different modules rather than just some unrelated code snippets. This suggestion might make section jumping a bit not as easy as the current arrangement. So there is gives and takes. Or another suggestion would accommodate both is for each section to have a smallish continuous project.

Overall, I think it's a very useful book, I would recommend to people who are interested in learning nodejs.
Search Customer Reviews
Only search this product's reviews

Look for similar items by category


Feedback