Book description
Node.js, MongoDB and Angular Web Development
The definitive guide to using the MEAN stack to build web applications
Node.js is a leading server-side programming environment, MongoDB is the most popular NoSQL database, and Angular is the leading framework for MVC-based front-end development. Together, they provide an easy-to-implement, fully integrated web development stack that allows web programmers to create high-performance sites and applications built completely in JavaScript, from server to client.
Updated for Angular 2, Angular 4, and subsequent versions, this new edition of Node.js, MongoDB and Angular Web Development shows you how to integrate these three technologies into complete working solutions. It begins with concise, crystal-clear tutorials on each technology and then quickly moves on to building common web applications.
You’ll 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
- Implement a MongoDB data store for your web applications
- Access and interact with MongoDB from Node.js JavaScript code
- Learn the basics of TypeScript
- Define custom Angular directives that extend the HTML language
- Build server-side web services in JavaScript
- 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 and nested comment components to your web applications and pages
Contents at a Glance
Part I: Getting Started
1 Introducing the Node.js-to-Angular 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 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 Angular
20 Jumping into TypeScript
21 Getting Started with Angular
22 Angular Components
23 Expressions
24 Data Binding
25 Built-in Directives
Part VI: Advanced Angular
26 Custom Directives
27 Events and Change Detection
28 Implementing Angular Services in Web Applications
29 Creating Your Own Custom Angular Services
30 Having Fun with Angular
Table of contents
- Cover Page
- Title Page
- Copyright Page
- Contents At a Glance
- Contents
- About the Author
- Acknowledgments
- Accessing the Free Web Edition
- Introduction
-
I: Getting Started
- 1 Introducing the Node.js-to-Angular Stack
- 2 JavaScript Primer
-
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
-
III: Learning MongoDB
-
11 Understanding NoSQL and MongoDB
- Why NoSQL?
- Understanding MongoDB
- MongoDB Data Types
-
Planning Your Data Model
- Normalizing Data with Document References
- Denormalizing Data with Embedded Documents
- Using Capped Collections
- Understanding Atomic Write Operations
- Considering Document Growth
- Identifying Indexing, Sharding, and Replication Opportunities
- Large Collections Versus Large Numbers of Collections
- Deciding on Data Life Cycles
- Considering Data Usability and Performance
- Summary
- Next
- 12 Getting Started with MongoDB
- 13 Getting Started with MongoDB and Node.js
-
14 Manipulating MongoDB Documents from Node.js
- Understanding Database Change Options
- Understanding Database Update Operators
- Adding Documents to a Collection
- Getting Documents from a Collection
- Updating Documents in a Collection
- Atomically Modifying Documents in a Collection
- Saving Documents in a Collection
- Upserting Documents in Collection
- Deleting Documents from a Collection
- Removing a Single Document from a Collection
- Summary
- Next
- 15 Accessing MongoDB from Node.js
-
16 Using Mongoose for Structured Schema and Validation
- Understanding Mongoose
- Connecting to a MongoDB Database Using Mongoose
- Defining a Schema
- Compiling a Model
- Understanding the Query Object
- Understanding the Document Object
- Finding Documents Using Mongoose
- Adding Documents Using Mongoose
- Updating Documents Using Mongoose
- Removing Documents Using Mongoose
- Aggregating Documents Using Mongoose
- Using the Validation Framework
- Implementing Middleware Functions
- Summary
- Next
- 17 Advanced MongoDB Concepts
-
11 Understanding NoSQL and MongoDB
-
IV: Using Express to Make Life Easier
- 18 Implementing Express in Node.js
- 19 Implementing Express Middleware
-
V: Learning Angular
- 20 Jumping into TypeScript
- 21 Getting Started with Angular
- 22 Angular Components
- 23 Expressions
- 24 Data Binding
- 25 Built-in Directives
-
VI: Advanced Angular
- 26 Custom Directives
- 27 Events and Change Detection
-
28 Implementing Angular Services in Web Applications
- Understanding Angular Services
- Using the Built-in Services
- Sending HTTP GET and PUT Requests with the http Service
- Implementing a Simple Mock Server Using the http Service
- Changing Views with the router Service
- Implementing a Router with a Navigation Bar
- Implementing a Router with Parameters
- Summary
- Next
- 29 Creating Your Own Custom Angular Services
- 30 Having Fun with Angular
- Index
Product information
- Title: Node.js, MongoDB and Angular Web Development, 2nd Edition
- Author(s):
- Release date: October 2017
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780134655642
You might also like
book
Node.js Web Development
Build scalable web applications using Node.js, Express.js, and the latest ECMAScript techniques, along with deploying applications …
book
Node.js Web Development - Fourth Edition
Create real-time applications using Node.js 10, Docker, MySQL, MongoDB, and Socket.IO with this practical guide and …
book
Node.js, MongoDB, and AngularJS Web Development
Node.js, MongoDB and AngularJS Web Development The definitive guide to building JavaScript-based Web applications from server …
book
Beginning Node.js
Beginning Node.js is your step-by-step guide to learning all the aspects of creating maintainable Node.js applications. …