A fast paced guide that will help you to create, read, update and delete data using MongoDB
- Create secure databases with MongoDB
- Manipulate and maintain your database
- Model and use data in a No SQL environment with MongoDB
MongoDB has grown to become the de facto NoSQL database with millions of users, from small start-ups to Fortune 500 companies. It can solve problems that are considered difficult, if not impossible, for aging RDBMS technologies. Written for version 4 of MongoDB, this book is the easiest way to get started with MongoDB.
You will start by getting a MongoDB installation up and running in a safe and secure manner. You will learn how to perform mission-critical create, read, update, and delete operations, and set up database security. You will also learn about advanced features of MongoDB such as the aggregation pipeline, replication, and sharding.
You will learn how to build a simple web application that uses MongoDB to respond to AJAX queries, and see how to make use of the MongoDB programming language driver for PHP.
The examples incorporate new features available in MongoDB version 4 where appropriate.
What you will learn
- Get a standard MongoDB database up and running quickly
- Perform simple CRUD operations on the database using the MongoDB command shell
- Set up a simple aggregation pipeline to return subsets of data grouped, sorted, and filtered
- Safeguard your data via replication and handle massive amounts of data via sharding
- Publish data from a web form to the database using a program language driver
- Explore the basic CRUD operations performed using the PHP MongoDB driver
Who this book is for
Web developers, IT professionals and Database Administrators (DBAs) who want to learn how to create and manage MongoDB databases.
Table of Contents
Chapter 1 Introducing MongoDB
Chapter 2 Understanding MongoDB Data Structures
Chapter 3 Using the MongoDB Shell
Chapter 4 Developing with Program Language Drivers
Chapter 5 Building Complex Queries Using Aggregation
Chapter 6 Maintaining MongoDB Performance
Chapter 7 Securing MongoDB
Chapter 8 Getting from a Web Form to MongoDB