Table of Contents

Introduction

How This Book Is Organized

Code Examples

Special Elements

Q&A, Quiz, and Exercises

Part I: Getting Started with NoSQL and MongoDB

Hour 1: Introducing NoSQL and MongoDB

What Is NoSQL?

Choosing RDBMS, NoSQL, or Both

Understanding MongoDB

MongoDB Data Types

Planning Your Data Model

Summary

Q&A

Workshop

Hour 2: Installing and Configuring MongoDB

Building the MongoDB Environment

Accessing the MongoDB HTTP Interface

Accessing MongoDB from the Shell Client

Scripting the MongoDB Shell

Summary

Q&A

Workshop

Hour 3: Using JavaScript in the MongoDB Shell

Defining Variables

Understanding JavaScript Data Types

Outputting Data in a MongoDB Shell Script

Using Operators

Implementing Looping

Creating Functions

Understanding Variable Scope

Using JavaScript Objects

Manipulating Strings

Working with Arrays

Adding Error Handling

Summary

Q&A

Workshop

Part II: Implementing NoSQL in MongoDB

Hour 4: Configuring User Accounts and Access Control

Understanding the Admin Database

Administrating User Accounts

Configuring Access Control

Summary

Q&A

Workshop

Hour 5: Managing Databases and Collections from the MongoDB Shell

Understanding the Database and Collection Objects

Managing Databases

Managing Collections

Implementing the Example Dataset

Summary

Q&A

Workshop

Hour 6: Finding Documents in the MongoDB Collection from the MongoDB Shell

Understanding the Cursor Object

Understanding Query Operators

Getting Documents from a Collection

Finding Specific Sets of Documents

Summary

Q&A

Workshop

Hour 7: Additional Data-Finding Operations Using the MongoDB Shell

Counting Documents

Sorting Results Sets

Limiting Result Sets

Finding Distinct Field Values

Summary

Q&A

Workshop

Hour 8: Manipulating MongoDB Documents in a Collection

Understanding the Write Concern

Configuring Database Connection Error Handling

Getting the Status of Database Write Requests

Understanding Database Update Operators

Adding Documents to a Collection in the MongoDB Shell

Updating Documents in a Collection from the MongoDB Shell

Saving Documents in a Collection Using the MongoDB Shell

Upserting Documents in Collections Using the MongoDB Shell

Deleting Documents from a Collection Using the MongoDB Shell

Summary

Q&A

Workshop

Hour 9: Utilizing the Power of Grouping, Aggregation, and Map Reduce

Grouping Results of Find Operations in the MongoDB Shell

Using Aggregation to Manipulate the Data During Requests from the MongoDB Shell

Applying Map Reduce to Generate New Data Results Using the MongoDB Shell

Summary

Q&A

Workshop

Part III: Using MongoDB in Applications

Hour 10: Implementing MongoDB in Java Applications

Understanding MongoDB Driver Objects in Java

Finding Documents Using Java

Counting Documents in Java

Sorting Results Sets in Java

Summary

Q&A

Workshop

Hour 11: Accessing Data from MongoDB in Java Applications

Limiting Result Sets Using Java

Finding a Distinct Field Value in Java

Grouping Results of Find Operations in Java Applications

Using Aggregation to Manipulate the Data During Requests from Java Applications

Summary

Q&A

Workshop

Hour 12: Working with MongoDB Data in Java Applications

Adding Documents from Java

Removing Documents from Java

Saving Documents from Java

Updating Documents from Java

Upserting Documents from Java

Summary

Q&A

Workshop

Hour 13: Implementing MongoDB in PHP Applications

Understanding MongoDB Driver Objects in PHP

Finding Documents Using PHP

Counting Documents in PHP

Sorting Result Sets in PHP

Summary

Q&A

Workshop

Hour 14: Accessing Data from MongoDB in PHP Applications

Limiting Result Sets Using PHP

Finding Distinct Field Values in PHP

Grouping Results of Find Operations in PHP Applications

Using Aggregation to Manipulate the Data During Requests from PHP Applications

Summary

Q&A

Workshop

Hour 15: Working with MongoDB Data in PHP Applications

Adding Documents from PHP

Removing Documents from PHP

Saving Documents from PHP

Updating Documents from PHP

Upserting Documents from PHP

Summary

Q&A

Workshop

Hour 16: Implementing MongoDB in Python Applications

Understanding MongoDB Driver Objects in Python

Finding Documents Using Python

Counting Documents in Python

Sorting Result Sets in Python

Summary

Q&A

Workshop

Hour 17: Accessing Data from MongoDB in Python Applications

Limiting Result Sets Using Python

Finding Distinct Field Value in Python

Grouping Results of Find Operations in Python Applications

Using Aggregation to Manipulate the Data During Requests from Python Applications

Summary

Q&A

Workshop

Hour 18: Working with MongoDB Data in Python Applications

Adding Documents from Python

Removing Documents from Python

Saving Documents from Python

Updating Documents from Python

Upserting Documents from Python

Summary

Q&A

Workshop

Hour 19: Implementing MongoDB in Node.js Applications

Understanding MongoDB Driver Objects in Node.js

Finding Documents Using Node.js

Counting Documents in Node.js

Sorting Results Sets in Node.js

Summary

Q&A

Workshop

Hour 20: Accessing Data from MongoDB in Node.js Applications

Limiting Result Sets Using Node.js

Finding Distinct Field Value in Node.js

Grouping Results of Find Operations in Node.js Applications

Using Aggregation to Manipulate the Data During Requests from Node.js Applications

Summary

Q&A

Workshop

Hour 21: Working with MongoDB Data in Node.js Applications

Adding Documents from Node.js

Removing Documents from Node.js

Saving Documents from Node.js

Updating Documents from Node.js

Upserting Documents from Node.js

Summary

Q&A

Workshop

Part IV: Additional MongoDB Concepts

Hour 22: Database Administration Using the MongoDB Shell

Working with Databases and Collections

Working with Indexes

Understanding Performance and Diagnostic Tasks

Repairing a MongoDB Database

Backing Up MongoDB

Summary

Q&A

Workshop

Hour 23: Implementing Replication and Sharding in MongoDB

Applying Replication in MongoDB

Implementing Sharding in MongoDB

Summary

Q&A

Workshop

Hour 24: Implementing a MongoDB GridFS Store

Understanding the GridFS Store

Implementing a GridFS in the MongoDB Shell

Implementing a MongoDB GridFS Using the Java MongoDB Driver

Implementing a MongoDB GridFS Using the PHP MongoDB Driver

Implementing a MongoDB GridFS Using the Python MongoDB Driver

Implementing a MongoDB GridFS Using the Node.js MongoDB Driver

Summary

Q&A

Workshop

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.184.239