Learning Node.js: A Hands-On Guide to Building Web Applications in JavaScript [NOOK Book]


Learning Node.js A Hands-On Guide to Building Web Applications in JavaScript

Node.js makes it far easier to create fast, compact, and reliable web/network applications and web servers, and is rapidly becoming indispensable to modern web developers.

Learning Node.js brings together the knowledge and ...
See more details below
Learning Node.js: A Hands-On Guide to Building Web Applications in JavaScript

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
BN.com price
(Save 43%)$31.99 List Price


Learning Node.js A Hands-On Guide to Building Web Applications in JavaScript

Node.js makes it far easier to create fast, compact, and reliable web/network applications and web servers, and is rapidly becoming indispensable to modern web developers.

Learning Node.js brings together the knowledge and JavaScript code you need to build master the Node.js platform and build server-side applications with extraordinary speed and scalability.

You’ll start by installing and running Node.js, understanding the extensions it uses, and quickly writing your first app. Next, building on the basics, you’ll write more capable application servers and extend them with today’s most powerful Node.js tools and modules. Finally, you’ll discover today’s best practices for testing, running Node.js code on production servers, and writing command-line utilities.

Throughout the book, author Marc Wandschneider teaches by walking you line-by-line through carefully crafted examples, demonstrating proven techniques for creating highly efficient applications and servers.
  • Build Node.js solutions that leverage your current JavaScript skills
  • Master Node.js nonblocking IO and async programming
  • Handle more requests and increase your application’s flexibility
  • Use and write your own modules
  • Perform common JSON/web server tasks
  • Use browsers to generate pages on the fly via Ajax calls and template libraries
  • Simplify development with the express framework
  • Create database back-ends using popular NoSQL and relational databases
  • Deploy and run Node.js apps on Unix/OS X or Windows servers
  • Take advantage of multiprocessor hardware
  • Support virtual hosts and SSL/HTTPS security
  • Test Node.js programs that mix synchronous, async, and RESTful server API functionality


Read More Show Less

Product Details

  • ISBN-13: 9780133377989
  • Publisher: Pearson Education
  • Publication date: 7/4/2013
  • Series: Learning
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 304
  • Sales rank: 1,003,683
  • File size: 18 MB
  • Note: This product may take a few minutes to download.

Meet the Author

Marc Wandschneider co-founded Adylitica, a leading specialist in massively scalable web and mobile app design and development. He travels the globe, consulting as a lead manager for software projects and teams. A graduate of McGill University’s School of Computer Science, he spent five years at Microsoft, developing and managing developers on the Visual Basic, Visual J++, and .NET Windows Forms teams.

Read More Show Less

Table of Contents



Chapter 1  Getting Started

Installing Node.js
Running Node.js and “Hello World!” 
Your First Web Server 
Debugging Your Node.js Programs
Staying Up-to-Date and Finding Help

Chapter 2  A Closer Look at JavaScript 

Type Comparisons and Conversions
Language Constructs
Classes, Prototypes, and Inheritance 
Errors and Exceptions 
Some Important Node.js Globals 
Chapter 3  Asynchronous Programming
The Old Way of Doing Things
The Node.js Way of Doing Things
Error Handling and Asynchronous Functions 
Who Am I? Maintaining a Sense of Identity
Being Polite–Learning to Give Up Control
Synchronous Function Calls
Chapter 4  Writing Simple Applications

Your First JSON Server
Node Pattern: Asynchronous Loops
Learning to Juggle: Handling More Requests
More on the Request and Response Objects
Increased Flexibility: GET Params 
Modifying Things: POST Data
Chapter 5  Modules
Writing Simple Modules
npm: The Node Package Manager
Consuming Modules
Writing Modules
A Module So Common It Should Be Built In
Chapter 6  Expanding Your Web Server
Serving Static Content with Streams 
Assembling Content on the Client: Templates   
Chapter 7  Building Web Applications with Express

Installing Express 
Routing and Layers in Express 
REST API Design and Modules 
Additional Middleware Functionality 
Chapter 8  Databases I: NoSQL (MongoDB)
Setting Up MongoDB  
Structuring Your Data for MongoDB  
Understanding the Basic Operations    
Updating Your Photo Albums App
Recapping the App Structure 
Chapter 9  Databases II: SQL (MySQL) 
Getting Ready
Creating a Schema for the Database 
Basic Database Operations   
Adding Authentication to the Application  
Resource Pooling  
Chapter 10  Deployment and Development  

Multiprocessor Deployment: Using a Proxy 
Virtual Hosting 
Securing Your Projects with HTTPS/SSL 
Multiplatform Development  
Chapter 11  Command-Line Programming
Running Command-Line Scripts     
Working with Files Synchronously 
Interacting with the User: stdin/stdout   
Working with Processes 
Chapter 12  Testing 
Choosing a Framework  
Writing Tests 
RESTful API Testing  
Read More Show Less

Customer Reviews

Average Rating 4
( 1 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted December 26, 2013

    No text was provided for this review.

Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)