Learn MongoDB From Scratch
3.6 (29 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
167 students enrolled

Learn MongoDB From Scratch

Everything you need to master MongoDB
3.6 (29 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
167 students enrolled
Last updated 7/2017
English [Auto-generated]
Current price: $69.99 Original price: $99.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 2.5 hours on-demand video
  • 1 article
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Student should be able to compare and contrast the relational persistence model vs. the NoSQL model
  • Students should be able to set up and configure a development level MongoDB instance
  • Students should be able to write code to perform basic CRUD operations on a MongoDB instance (with both the Shell tool and a with a particular language’s syntax)
  • Students should be familiar with modelling data for use in MongoDB
  • Students should be familiar with MongoDB’s capabilities and operational tools
  • Student should be immediately productive in quality MongoDB development
Course content
Expand all 51 lectures 02:35:54
+ Introduction to the Course
5 lectures 21:23

I’ll explain how this course is organized,including a quick review of the course’s sections & our learning objectives.

How this will go

We’ll view a quick demo of the completed course project so we know what we’ll be building over the course. A list of the features we’ll build to complete our project will also be reviewed.

Our Hands-On Project

Let’s create a Cloud9 account and set up a MongoDB project by pulling a version from Github. Then, we can install all of the tools we’ll need to build our project.

Setup Our Tools

We now know what we’ll be learning & how we’ll learn it all. Plus we’re all set up to begin coding our project.

Section Recap
+ Set Up Our Project
5 lectures 12:03

Let’s create a new database and import some data.

Import Data with MongoImport

We can use the Mongo Shell tool to check out our database, its collections, and data.

Use the Mongo Shell

The Shell Tool is a Javascript editor as well and can execute Javascript on the fly. Let’s use some Javascript in the Shell.

Javascript in the Mongo Shell

We hit the ground running in this section! We’ve already set up a fully functioning project with data and have begun working with the Mongo Shell Tool.

Section Recap
+ Start with Queries and Operations
7 lectures 24:01
Section Introduction

We can manipulate queries for retrieving data from our database. Let’s begin working with the ‘find’ command on our ‘Users’ data.

Retrieve data with .find()

Let’s use the .insert() and .save() commands to Create data in a collection in two distinct ways.

Create data with .save() & .insert()

We can Update existing data in a collection using the .update() command. We can also use $set:{} to add a field to an existing document.

Update data with .update()

Deleting data is very simple, as long as we know which document we want removed.

Deleting data with .remove()

Now that our User Data is ready for display, let’s update our app so it will pass User Data from the database thru to the rendered web page.

Display User Data in our App

We learned about the generality of CRUD operations & how simple they are to use. We then used these operations to shape up our User data and ready it for use in our app.

Section Recap
+ Model New Entities
6 lectures 18:59
Section Introduction

What are the things we need to be thinking about when we Model our data for use in MongoDB?

Rules for Modeling

We can work with models that are Simple or go for more Complex structures. Let’s consider speed and data types as we make modeling choices.

Simple & Complex Models

Let’s use our new knowledge to model the ‘Event’ document for our project.

Modeling ‘Event’ Data

Registry has some interesting characteristics. Let’s make good decisions when creating a model for our project and consider all scenarios.

Modeling ‘Event Registration’ data

We have learned MongoDB specific data modeling concepts and applied them in creating models for our project’s database.

Section recap
+ Indexing MongoDB
5 lectures 08:29
Section Introduction

Let’s look at how Indexing works in MongoDB and what kind of indices are available.

Indexing in MongoDB

We can use Mongo commands to see which indices exist and how they’re used in a query.

Using Indexes

Let’s go through the steps of Creating Indexes and optimize our project with faster queries.

Preview 03:32

We learned how indices work in MongoDB, why we need them, and how to optimize our existing database by adding indices where they are needed.

Learning Objective:Understand & use indices in MongoDB

Section Recap
+ MongoDB Aggregation Framework
6 lectures 16:09
Section Introduction

We’ll discuss data aggregation from 10K ft and learn about pipeline processing & result sets.

Aggregation Concepts

Let’s walk thru Aggregation Pipeline Stages & see the significance of each. Then, let’s review the Pipeline Operators and see what each one does.

Pipeline Stages & Operators

We can apply Aggregation Queries and Filters to create our project’s aggregated data. Let’s see how.

Aggregation in our Project

Now that we have Aggregated Data, we need to use it in our project. We will plug it right into our templates.

Use our Aggregated Data

We learned how to create Aggregation Queries with the MongoDB Aggregation Framework. We then used Aggregation in our project to create new data from existing records and plugged that data into our HTML templates.

Section Recap
+ Replication & Sharding
6 lectures 11:13
Section Introduction

Let’s find out what Replica sets are & how they work.

What are Replica Sets?

How do Replica Sets stay available? We’ll investigate..

Automated Failover

Let’s find out what Sharding is and how it is configured.

What is Sharding?

What considerations are there when we are Sharding our data?

Rules for Sharding data

We reviewed the steps involved in Replication and Sharding of MongoDB databases and how instances work together when distributed. We can assume that availability and durability standards are provided with these techniques when we design apps for MongoDB.

Section Recap
+ Our Web App
5 lectures 22:43

Let’s review the current state of our project and how it got that way.

Our Project’s State

App.js is the heart of our app. Let’s look into how it drives our application.

Our app.js file

We’ll look into how the aggregation functions work in our application.

Our Aggregate Queries

We can now see how the ‘pieces’ of our app fit together and how JSON data is passed from MongoDB thru to the web pages.

Section Recap
+ Course Outro
4 lectures 16:29
Section Introduction

A walk thru of completed checklists.

Learning Objectives & Project Requirements Review

Let’s talk about some of the options, including: continued dev training & certification or admin training & certification. And don’t forget that you can use our project as a template for further experimentation.

Where to go from here

Thank you again for taking this course. We wish you the best of luck in working with MongoDB on future projects!

Section Recap
+ Appendix
1 lecture 04:11
Recovering MongoDB in Cloud9
  • A student should have a computer with a modern web browser available for viewing course materials and for working in a browser-based development environment
  • A student should have an understanding of the concepts of basic web development and at least some experience in web development activities utilizing, at minimum, a small collection of development tools.
  • A student should have some familiarity and experience with using a common programming language, either object-oriented or scripting (i.e. Java, Python, Javascript, etc.).

Data is a very popular buzzword in the technology industry right now. As more and more people move their activities online, the data companies and websites collect on them will become even more relevant. And guess what that means? Programmers and developers who know their way around databases – and more importantly, who can actually interpret and build things from them – will be in high demand. MongoDB is one of the most dynamic databases out there, so getting to grips with it sooner rather than later means you’ll stay well ahead of the curve.

Become a MongoDB Master

  • Gain an in-depth understanding of MongoDB’s capabilities
  • Learn how MongoDB can be used for web app design, development, testing and more
  • Set up a powerful development environment with an online IDE
  • Explore the impressive MongoDB Aggregation Framework
  • Build a complete web application fully integrated with MongoDB

Approach Data in New Exciting Ways

This MongoDB online course has been designed for web developers, web designers, web architects, testers, site administrators, and pretty much anyone who already has a working knowledge of web development.  Although it’s not vital, knowing how to build web UI components and a familiarity with NoSQL persistence will help. This course is absolutely not limited to developers only, however.

The goal is to provide a solid foundation of MongoDB knowledge. To get you up and running on building your own web apps with MongoDB at their core, and to help you understand the capabilities, functionality and limitations of what this database can do.

You’ll learn how to configure and run MongoDB, start importing data, and then quickly get stuck into creating new databases. You’ll pick up Mongo Query Language commands and dive into one of MongoDB’s most powerful features, the Aggregation Framework. You’ll work through detailed examples to gain an understanding of the various pieces of the puzzle, all the while learning about this database’s scaling, replication, and sharding abilities.

By the end of this course, those examples you’ve been working on will all fit together to form a complete, working web application that’s fully integrated with MongoDB. And not only that, you’ll have the confidence, knowledge and practice needed to start working on your own MongoDB projects straight away.

About MongoDB

MongoDB is an open source database with a document-oriented data model. It differs from a relational database in that instead of storing data in tables and rows, it stores JSON-like documents with dynamic schemas. Because of this, it lends developers the ability to create applications rooted in data in ways they never could before. 

Who this course is for:
  • The target student for this course is a native English speaker who considers him/herself a practicing “web developer”.
  • The developer should, ideally, be capable of building web UI components but also needs an understanding of NoSQL persistence (MongoDB in particular) as applied in modern web environments. However, this course is not limited to developers only.
  • Any IT professional or hobbyist anticipating a solid understanding of how MongoDB works, how it's architected, administered, and/or developed for a web environment needs to enroll in this course.
  • The audience umbrella for this course spans web architects/ developers/ designers/ testers, site administrators, security assurance administrators, & product/ project/ IT managers.