The content ramps up nicely from basic to advanced.
Node.js in Action, Second Edition is now available. An eBook of this older edition is included at no additional cost when you buy the revised edition!
A limited number of pBook copies of this edition are still available. Please contact Manning Support to inquire about purchasing previous edition copies.
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
about the cover illustration
Part 1 Node fundamentals
1. Chapter 2 Building a multiroom chat application
1.1. Application overview
1.2. Application requirements and initial setup
1.4. Handling chat-related messaging using Socket.IO
2. Chapter 3 Node programming fundamentals
2.1. Organizing and reusing Node functionality
2.2. Asynchronous programming techniques
2.3. Sequencing asynchronous logic
Part 2 Web application development with Node
3. Chapter 4 Building Node web applications
3.1. HTTP server fundamentals
3.2. Building a RESTful web service
3.3. Serving static files
3.4. Accepting user input from forms
3.5. Securing your application with HTTPS
4. Chapter 5 Storing Node application data
4.1. Serverless data storage
4.2. Relational database management systems
4.3. NoSQL databases
5. Chapter 6 Connect
5.1. Setting up a Connect application
5.2. How Connect middleware works
5.3. Why middleware ordering matters
5.4. Mounting middleware and servers
5.5. Creating configurable middleware
5.6. Using error-handling middleware
6. Chapter 7 Connect’s built-in middleware
6.1. Middleware for parsing cookies, request bodies, and query strings
6.2. Middleware that implements core web application functions
6.3. Middleware that handles web application security
6.4. Middleware for serving static files
7. Chapter 8 Express
7.1. Generating the application skeleton
7.2. Configuring Express and your application
7.3. Rendering views
7.4. Handling forms and file uploads
7.5. Handling resource downloads
8. Chapter 9 Advanced Express
8.1. Authenticating users
8.2. Advanced routing techniques
8.3. Creating a public REST API
8.4. Error handling
9. Chapter 10 Testing Node applications
9.1. Unit testing
9.2. Acceptance testing
10. Chapter 11 Web application templating
10.1. Using templating to keep code clean
10.3. Using the Mustache templating language with Hogan
10.4. Templating with Jade
Part 3 Going further with Node
11. Chapter 12 Deploying Node applications and maintaining uptime
11.1. Hosting Node applications
11.2. Deployment basics
11.3. Maximizing uptime and performance
12. Chapter 13 Beyond web servers
12.2. TCP/IP networking in depth
12.3. Tools for interacting with the operating system
12.4. Developing command-line tools
13. Chapter 14 The Node ecosystem
13.1. Online resources for Node developers
13.3. Contributing to the npm repository
Appendix A: Installing Node and community add-ons
Appendix B: Debugging Node
Appendix C: Extending and configuring Express
© 2014 Manning Publications Co.
About the Technology
About the book
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.
- Set up Node and extensions
- Grok asynchronous programming and the event loop
- Examples including microblogging, IM, games, and more
The definitive guide to Node and the Node.js ecosystem.
Superbly written with practical (and even funny) real-world examples.
Thoroughly enjoyable ... will get you up and running very quickly.
An excellent resource written by the people behind the code.