
I’ll explain how this course is organized,including a quick review of the course’s sections & our learning objectives.
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.
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.
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.
Let’s create a new database and import some data.
We can use the Mongo Shell tool to check out our database, its collections, and data.
The Shell Tool is a Javascript editor as well and can execute Javascript on the fly. Let’s use some Javascript in the 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.
We can manipulate queries for retrieving data from our database. Let’s begin working with the ‘find’ command on our ‘Users’ data.
Let’s use the .insert() and .save() commands to Create data in a collection in two distinct ways.
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.
Deleting data is very simple, as long as we know which document we want removed.
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.
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.
What are the things we need to be thinking about when we Model our data for use in MongoDB?
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.
Let’s use our new knowledge to model the ‘Event’ document for our project.
Registry has some interesting characteristics. Let’s make good decisions when creating a model for our project and consider all scenarios.
We have learned MongoDB specific data modeling concepts and applied them in creating models for our project’s database.
Let’s look at how Indexing works in MongoDB and what kind of indices are available.
We can use Mongo commands to see which indices exist and how they’re used in a query.
Let’s go through the steps of Creating Indexes and optimize our project with faster queries.
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
We’ll discuss data aggregation from 10K ft and learn about pipeline processing & result sets.
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.
We can apply Aggregation Queries and Filters to create our project’s aggregated data. Let’s see how.
Now that we have Aggregated Data, we need to use it in our project. We will plug it right into our templates.
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.
Let’s find out what Replica sets are & how they work.
How do Replica Sets stay available? We’ll investigate..
Let’s find out what Sharding is and how it is configured.
What considerations are there when we are Sharding our 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.
Let’s review the current state of our project and how it got that way.
App.js is the heart of our app. Let’s look into how it drives our application.
We’ll look into how the aggregation functions work in our application.
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.
A walk thru of completed checklists.
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.
Thank you again for taking this course. We wish you the best of luck in working with MongoDB on future projects!
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
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.