This is the code repository for MongoDB 4 Quick Start Guide, published by Packt.
Learn the skills you need to work with the world's most popular NoSQL database
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.
This book covers the following exciting features:
- 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
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
use <dbName>;
db.<collection>.insertOne({ // document });
or
db.createCollection(<collection>);
Following is what you need for this book: Web developers, IT professionals and Database Administrators (DBAs) who want to learn how to create and manage MongoDB databases.
With the following software and hardware list you can run all code files present in the book (Chapter 1-8).
Chapter | Software required | OS required |
---|---|---|
1-8 | PHP 7.0 | Minimum Versions Supported:Windows 7/2008R2 |
Debian 8 | ||
RedHat/CentOS 6.2 | ||
Ubuntu 14.04 | ||
macOS 10.11 |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Doug Bierer is the owner and CTO of unlikelysource, a website development and consulting company that over the last 10 years has developed 60+ websites for customers around the world. In addition, Doug has been a contract trainer for RogueWave Software/Zend Technologies since 2009. He wrote his first program in 1971 on a PDP-8, and has developed commercial applications in languages including Assembler, C, C++, Java, JavaScript, Perl, and PHP. He developed a video series on MongoDB for InfiniteSkills (now part of O'Reilly Media) in 2014. Before diving into MongoDB, Doug developed applications and performed administration for MySQL databases. He has continued to develop applications that access MongDB to this day.
Click here if you have any feedback or suggestions.