Home > Store > Open Source > Ajax & JavaScript

Node.js, MongoDB and Angular Web Development: The definitive guide to using the MEAN stack to build web applications, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

Node.js, MongoDB and Angular Web Development: The definitive guide to using the MEAN stack to build web applications, 2nd Edition

Best Value Purchase

Book + eBook Bundle

  • Your Price: $53.99
  • List Price: $89.98
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

More Purchase Options

Book

  • Your Price: $39.99
  • List Price: $49.99
  • Estimated Release: Oct 26, 2017

eBook (Watermarked)

  • Your Price: $31.99
  • List Price: $39.99
  • Estimated Release: Oct 26, 2017
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

About

Features

  • Updated for Angular2, Angular4, Node.js 6, and MongoDB 3
  • Covers the complete rewrite of the Angular technology
  • Provides a practical, hands-on approach helps developers apply these new technologies to their work
  • Patterned on Welling and Thomson's groundbreaking best-seller PHP and MySQL Web Development

Description

  • Copyright 2018
  • Dimensions: 7" x 9"
  • Pages: 700
  • Edition: 2nd
  • Book
  • ISBN-10: 0-13-465553-2
  • ISBN-13: 978-0-13-465553-6

Node.js, MongoDB and Angular Web Development The definitive guide to building JavaScript-based Web applications from server to browser

Node.js, MongoDB, and Angular are three 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 Angular 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 Angular 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 Angular'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 Angular 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

Sample Content

Table of Contents

Introduction

Part I: Learning Node.js
1 Getting Started with Node.js
   • Installing Node.js
   • Creating a Node.js Application
   • Installing npms
2 Understanding I/O  and Events in Node.js
   • Types of  I/O
   • Handling System I/O
   • Handling Network I/O
   • Understanding Events
   • Creating Event Listeners
3 Implementing Callbacks in Node.js
   • Understanding Callbacks
   • How Node.js Implements Callbacks
   • Synchronous Callbacks
   • Asynchronous Callbacks
   • Handling Event Loops
4 Implementing HTTP Services  in Node.js
   • Understanding HTTP Services
   • Implementing HTTP Servers in Node.js
   • Implementing HTTP Clients in Node.js
5 Implementing Socket Services in Node.js
   • Understanding Socket.IO
   • Creating a Socket Server
   • Creating a Socket Client
   • Broadcasting Data to Socket Clients
   • Sending Data to Socket Servers
   • Bi-Directional Data
6 Accessing the Local System from Node.js
   • Writing Data to Files
   • Reading Data from Files
   • Accessing Environment Variables
   • Creating Child Processes
   • Using the Cluster Module
7 Handling JSON Data in Node.js
   • Converting JSON to JavaScript Objects
   • Converting JavaScript Objects to JSON
   • Sending JSON Data
   • Creating a JSON API in Node.js
8 Using the Buffer Module
   • Understanding Buffered Data
   • Writing to Buffers
   • Appending to Buffers
   • Modifying Data in Buffers
   • Copying Buffers
9 Using the Stream Module
   • Understanding Node.js Streams
   • Creating Readable Streams
   • Creating Writable Streams
   • Implementing Piped Streams
10 Creating Your Own Node.js Modules

Part II: Learning MongoDB
11 Getting Started with MongoDB
   • Understanding MongoDB
   • MongoDB Data Types
   • Understanding Documents
   • Installing MongoDB
   • Accessing MongoDB from the Shell Client
   • Starting and Stopping MongoDB
   • Monitoring MongoDB
   • Configuring Security and Authentication
12 Getting Started with Mongoose
   • Understanding Mongoose
   • Installing Mongoose
   • Adding Mongoose to Node.js
   • Connecting to MongoDB
13 Defining Your Object Model from Node.js Mongoose
   • Planning your Object Model
   • Defining the Schema
   • Compiling an Object Model
   • Defining Validation
   • Creating Objects
   • Updating Objects
   • Saving Objects
14 Accessing MongoDB Data from Node.js Using Mongoose
   • Introducing find
   • Adding Query Criteria
   • Using Type-Specific Queries
   • Limiting Results
   • Sorting Results
   • Aggregating Results
   • Getting Data as QueryStream
15 Advanced Mongoose Concepts
   • Snapshot Queries
   • Converting Query Objects to JSON
   • Converting Query Objects to JavaScript Objects
   • Adding dynamic methods to the Model
   • Adding MiddleWare
   • Population
   • Promise
16 Advanced MongoDB Concepts
   • Indexing
   • Replication
   • Sharding
   • Backup and Repair

Part III: Using Express and Jade to Make Life Easier
17 Getting Started with Express and Jade
   • Understanding Express
   • Installing Express
   • Configuring Express
   • Adding Middleware
   • Understanding Jade
   • Installing Jade
   • Setting Jade as the Template Engine
18 Implementing Express in Node.js
   • Understanding Routes
   • Adding Routes
   • Adding a GET Route
   • Adding a POST Route
   • Applying Parameters in Routes
   • Accessing Requests
   • Manipulating Responses
19 Creating Jade Templates
   • Adding Tags
   • Setting Attributes
   • Adding Plain Text
   • Applying Unbuffered Code vs. Buffered Code
   • Using Conditionals
   • Iteration
   • Using Mixins
   • Using Additional Script Languages

Part IV: Learning AngularJS
20 Getting Started with AngularJS
   • Understanding AngularJS
   • Installing AngularJS
   • Configuring AngularJS
   • Understanding AngularJS MVC
   • Model
   • Template
   • Controller
21 Defining Browser Interaction in Templates
   • Applying Browser Events
   • Modifying DOM Elements
   • Data Binding to DOM Elements
   • Adding Filters to
22 Understanding Directives
   • Built-in Directives
   • Creating Your Own Directives to Extend HTML
   • Creating Reusable Components
23 Interacting with the Server Via AJAX
   • Using the $http.get Service
   • Using the $http.post Service
   • Using the $http.jsonp Service
   • Using the $resource Service
24 Additional AngularJS Concepts
   • Adding Expressions to Templates
   • Using Routes
   • Implementing Services
   • Dependency Injection
25 Integrating AngularJS with Existing Code
   • JavaScript
   • jQuery

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

Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership