Node.js, MongoDB, and AngularJS Web Development

  • ISBN13:


  • ISBN10:


  • Edition: 1st
  • Format: Paperback
  • Copyright: 2014-06-18
  • Publisher: Addison-Wesley Professional
  • View Upgraded Edition
  • Purchase Benefits
  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $49.99


Node.js, MongoDB and AngularJS Web Development

The definitive guide to building using the MEAN stack to build web applications

Also known as the MEAN stack, Node.js, MongoDB, and AngularJS are three new web development technologies that together provide an easy to implement, fully integrated web development stack. Node.js is a leading server-side programming environment, MongoDB is the most popular NoSQL database, and AngularJS is quickly becoming the leading framework for MVC-based front-end development. Together they allow web programmers to create high-performance sites and applications built completely in JavaScript, from server to client.

Node.js, MongoDB and AngularJS Web Development  is a complete guide for web programmers who want to integrate these three technologies into full working solutions. It begins with concise, crystal-clear tutorials on each of the three technologies and then quickly moves on to building several common web applications.

Readers will learn how to use Node.js and MongoDB to build more scalable, high-performance sites, how to leverage AngularJS's innovative MVC approach to structure more effective pages and applications, and how to use all three together to deliver outstanding next-generation Web solutions.

  • Implement a highly scalable and dynamic web server using Node.js and Express
  • Build server-side web services in JavaScript
  • Implement a MongoDB data store for your web applications
  • Access and interact with MongoDB from Node.js JavaScript code
  • Define static and dynamic web routes and implement server-side scripts to support them
  • Implement Express in Node.js
  • Create Jade templates
  • Define your own custom AngularJS directives that extend the HTML language
  • Implement client-side services that can interact with the Node.js web server
  • Build dynamic browser views that provide rich user interaction
  • Add authenticated user accounts to your web applications
  • Add nested comment components to your web pages
  • Build an end-to-end shopping cart

Contents at a Glance

Part I: Getting Started

1 Introducing the Node.js-to-AngularJS Stack

2 JavaScript Primer

Part II: Learning Node.js

3 Getting Started with Node.js

4 Using Events, Listeners, Timers, and Callbacks in Node.js

5 Handling Data I/O in Node.js

6 Accessing the File System from Node.js

7 Implementing HTTP Services in Node.js

8 Implementing Socket Services in Node.js

9 Scaling Applications Using Multiple Processors in Node.js

10 Using Additional Node.js Modules

Part III: Learning MongoDB

11 Understanding NoSQL and MongoDB

12 Getting Started with MongoDB

13 Getting Started with MongoDB and Node.js

14 Manipulating MongoDB Documents from Node.js

15 Accessing MongoDB Documents from Node.js

16 Using Mongoose for Structured Schema and Validation

17 Advanced MongoDB Concepts

Part IV: Using Express to Make Life Easier

18 Implementing Express in Node.js

19 Implementing Express Middleware

Part V: Learning AngularJS

20 Getting Started with AngularJS

21 Understanding AngularJS Modules and Dependency Injection

22 Implementing the Scope as a Data Model

23 Using AngularJS Templates to Create Views

24 Implementing Directives in AngularJS Views

25 Implementing AngularJS Services in Web Applications

Part VI: Building Practical Web Application Components

26 Adding User Accounts to Your Website

27 Adding Comment Threads to Pages

28 Creating Your Own Shopping Cart

29 Building Interactive Web 2.0 Application Components

Author Biography

Brad Dayley is a senior software engineer with more than 20 years of experience developing enterprise applications and web interfaces. He has used JavaScript and jQuery for years and is the author of jQuery and JavaScript Phrasebook and Teach Yourself jQuery and JavaScript in 24 Hours. He has designed and implemented a wide array of applications and services, from application servers to complex Web 2.0 interfaces. He is also the author of Python Developer’s Phrasebook and Teach Yourself Django in 24 Hours.

Table of Contents



Part I. Learning Node.js
1. Getting Started with Node.js
2. Understanding I/O and Events in Node.js
3. Implementing Callbacks in Node.js
4. Implementing HTTP Services in Node.js
5. Implementing Socket Services in Node.js
6. Accessing the Local System from Node.js
7. Handling JSON Data in Node.js
8. Using the Buffer Module
9. Using the Stream Module
10. Creating Your Own Node.js Modules


Part II. Learning MongoDB
11. Getting Started with MongoDB
12. Getting Started with Mongoose
13. Defining Your Object Model from Node.js Mongoose
14. Accessing MongoDB Data from Node.js Using Mongoose
15. Advanced Mongoose Concepts
16. Advanced MongoDB Concepts


Part III. Using Express and Jade to Make Life Easier
17. Getting Started with Express and Jade
18. Implementing Express in Node.js
19. Creating Jade Templates


Part IV. Learning AngularJS
20. Getting Started with AngularJS
21. Defining Browser Interaction in Templates
22. Understanding Directives
23. Interacting with the Server via AJAX
24. Additional AngularJS Concepts
25. Integrating AngularJS with Existing Code


Part V. Practical Examples
26. Adding User Accounts to Your Web Site
27. Connecting to External Services
28. Creating Your Own Shopping Cart
29. Adding Comments Area to Pages
30. Generating Dynamic PDF Documents
31. Building a Rich Web Application

Rewards Program

Write a Review