Mô tả

Join this bestselling MongoDB course to learn all about this extremely popular database and query language from the ground up, in great detail and with many practical examples!

MongoDB is one of the most important NoSQL databases you can work with these days. It's extremely popular and MongoDB developers are in high demand.

No matter if you're building web applications, mobile applications or any other kind of application or if you're a data scientist - you'll need to work with data. Storing data, querying it efficiently and minimizing complexities whilst optimizing performance are crucial tasks.

MongoDB makes working with data simple - it's built on a philosophy that prioritizes performance and efficiency.

In this course, you'll learn all about MongoDB from scratch. No prior MongoDB or database experience is required!

In detail, you'll learn:

  • ... how to install and use MongoDB locally and in the cloud (MongoDB Atlas)

  • ... how to perform CRUD (Create, Read, Update, Delete) operations on MongoDB databases

  • ... how to filter for data efficiently

  • ... how to work with both the Mongo Shell and drivers (e.g. Node.js driver)

  • ... how to increase performance by using indexes (and how to use the right indexes!)

  • ... how to use the amazing "Aggregation Framework" that's built into MongoDB

  • ... what replica sets and sharding are

  • ... how to use MongoDB Atlas - the cloud solution offered by MongoDB

  • ... how to use the serverless platform (Stitch) offered by MongoDB

  • ... and much more!

This course is a hands-on course - you'll learn by writing code/ commands. We'll work on a wide variety of example data and use-cases and by the end of the course, you'll have all the knowledge you need to work with MongoDB in your next project!

This course is for you, no matter which programming language you plan on using, you'll learn a uniform way of interacting with MongoDB that can be easily applied to any language.

This course is for you:

  • ... if you're brand-new to MongoDB and databases in general

  • ... if you got some basic database or even MongoDB experience - in this course, there are different entry points you can choose from!

  • ... if you are a web or mobile app (or desktop app) developer who considers using MongoDB

  • ... if you're working in a team that considers using MongoDB (or already does use it)

  • ... if you are primarily using SQL-based databases so far and you want to explore the most popular NoSQL alternative

This course is NOT for you:

  • ... if you're looking for a guide on administrating MongoDB servers => This course focuses on the commands/ queries you write, it's NOT an administration course. I will show (in detail) how to deploy a ready-to-use cloud MongoDB solution that follows best practices though.

Bạn sẽ học được gì

Yêu cầu

Nội dung khoá học

19 sections

Introduction

14 lectures
Introduction
02:07
What is MongoDB?
05:36
Join our Online Learning Community
00:25
The Key MongoDB Characteristics (and how they differ from SQL Databases)
02:55
Understanding the MongoDB Ecosystem
04:19
General Setup Instructions & Installing MongoDB on macOS
16:52
Installing MongoDB on Windows
08:10
Installing the MongoDB Shell
05:59
Installing mongoimport
00:21
Time To Get Started!
05:37
Shell vs Drivers
03:29
MongoDB + Clients: The Big Picture
02:58
Course Outline
04:38
How To Get The Most Out Of The Course
02:30

Understanding the Basics & CRUD Operations

20 lectures
Module Introduction
01:30
Understanding Databases, Collections & Documents
03:47
The Shell & MongoDB Drivers for Different Languages
02:40
Creating Databases & Collections
03:16
Understanding JSON Data
04:05
Comparing JSON & BSON
05:23
Create, Read, Update, Delete (CRUD) & MongoDB
05:37
Finding, Inserting, Deleting & Updating Elements
07:47
Understanding "insertMany()"
01:48
Diving Deeper Into Finding Data
03:55
"update" vs "updateMany()"
04:41
Understanding "find()" & the Cursor Object
07:30
Understanding Projection
03:38
Embedded Documents & Arrays - The Theory
01:56
Working with Embedded Documents
02:28
Working with Arrays
01:43
Accessing Structured Data
04:39
Time to Practice - The Basics & CRUD Operations
1 question
Wrap Up
02:47
Useful Resources & Links
00:04

Schemas & Relations: How to Structure Documents

24 lectures
Resetting Your Database
00:13
Module Introduction
02:12
Why Do We Use Schemas?
03:57
Structuring Documents
07:43
Data Types - An Overview
06:23
Data Types in Action
12:15
Data Types & Limits
01:08
How to Derive your Data Structure - Requirements
05:07
Understanding Relations
02:58
One To One Relations - Embedded
06:20
One To One - Using References
04:54
One To Many - Embedded
05:07
One To Many - Using References
04:04
Many To Many - Embedded
07:16
Many To Many - Using References
05:25
Summarizing Relations
02:18
Using "lookUp()" for Merging Reference Relations
04:35
Planning the Example Exercise
06:56
Implementing the Example Exercise
04:16
Understanding Schema Validation
02:57
Adding Collection Document Validation
09:07
Changing the Validation Action
03:43
Wrap Up
04:08
Useful Resources & Links
00:03

Exploring The Shell & The Server

8 lectures
Module Introduction
01:01
Finding Available Options
02:15
Setting "dbpath" & "logpath"
04:41
Exploring the MongoDB Options
02:00
MongoDB as a Background Service
03:09
Using a Config File
03:02
Shell Options & Help
04:12
Useful Resources & Links
00:07

Using the MongoDB Compass to Explore Data Visually

3 lectures
Module Introduction
00:50
Exploring the MongoDB Compass
05:50
Useful Resources & Links
00:03

Diving Into Create Operations

11 lectures
Module Introduction
01:12
Creating Documents - An Overview
01:47
Understanding "insert()" Methods
06:10
Working with Ordered Inserts
07:47
Understanding the "writeConcern"
05:44
The "writeConcern" in Practice
04:09
What is Atomicity?
02:39
Time to Practice - Create Operations
1 question
Importing Data
03:37
Wrap Up
02:38
Useful Resources & Links
00:02

Read Operations - A Closer Look

29 lectures
Module Introduction
01:40
Methods, Filters & Operators
02:54
Operators - An Overview
03:02
Query Selectors & Projection Operators
01:16
Understanding "findOne()" & "find()"
04:32
Working with Comparison Operators
05:20
Querying Embedded Fields & Arrays
04:52
Understanding "$in" and "$nin"
02:37
"$or" and "$nor"
05:31
Understanding the "$and" Operator
05:04
Using "$not"
01:35
Diving Into Element Operators
05:30
Working with "$type"
02:52
Understanding Evaluation Operators - "$regex"
03:23
Understanding Evaluation Operators - "$expr"
09:37
Time to Practice - Read Operations
1 question
Diving Deeper Into Querying Arrays
04:09
Using Array Query Selectors - "$size"
02:09
Using Array Query Selectors - "$all"
02:12
Using Array Query Selectors - "$elemMatch"
04:52
Time to Practice - Array Query Selectors
1 question
Understanding Cursors
02:47
Applying Cursors
06:02
Sorting Cursor Results
03:09
Skipping & Limiting Cursor Results
03:31
Using Projection to Shape our Results
04:01
Using Projection in Arrays
05:12
Understanding "$slice"
03:05
Useful Resources & Links
00:03

Update Operations

17 lectures
Module Introduction
01:01
Updating Fields with "updateOne()", "updateMany()" and "$set"
07:52
Updating Multiple Fields with "$set"
01:40
Incrementing & Decrementing Values
03:33
Using "$min", "$max" and "$mul"
03:15
Getting Rid of Fields
02:04
Renaming Fields
01:20
Understanding "upsert()"
04:01
Time to Practice - Update Operations
1 question
Updating Matched Array Elements
06:56
Updating All Array Elements
06:27
Finding & Updating Specific Fields
05:35
Adding Elements to Arrays
04:46
Removing Elements from Arrays
02:34
Understanding "$addToSet"
01:18
Wrap Up
01:39
Useful Resources & Links
00:01

Understanding Delete Operations

4 lectures
Module Introduction
00:31
Understanding "deleteOne()" & "deleteMany()"
04:08
Deleting All Entries in a Collection
02:00
Useful Resources & Links
00:01

Working with Indexes

24 lectures
Module Introduction
01:19
What Are Indexes & Why Do We Use Them?
04:18
Adding a Single Field Index
08:06
Indexes Behind the Scenes
00:46
Understanding Index Restrictions
02:51
Creating Compound Indexes
07:14
Using Indexes for Sorting
02:25
Understanding the Default Index
00:59
Configuring Indexes
02:28
Understanding Partial Filters
06:07
Applying the Partial Index
03:37
Understanding the Time-To-Live (TTL) Index
03:55
Query Diagnosis & Query Planning
02:10
Understanding Covered Queries
03:34
How MongoDB Rejects a Plan
07:37
Using Multi-Key Indexes
08:15
Understanding Text Indexes
06:09
Text Indexes & Sorting
02:21
Creating Combined Text Indexes
02:54
Using Text Indexes to Exclude Words
00:54
Setting the Default Language & Using Weights
06:32
Building Indexes
07:40
Wrap Up
02:24
Useful Resources & Links
00:04

Working with Geospatial Data

11 lectures
Module Introduction
00:53
Adding GeoJSON Data
04:51
Running Geo Queries
03:22
Adding a Geospatial Index to Track the Distance
02:52
Adding Additional Locations
03:34
Finding Places Inside a Certain Area
06:22
Finding Out If a User Is Inside a Specific Area
05:27
Finding Places Within a Certain Radius
05:38
Time to Practice - Geospatial Data
1 question
Wrap Up
01:40
Useful Resources & Links
00:02

Understanding the Aggregation Framework

27 lectures
Module Introduction
01:34
What is the Aggregation Framework?
01:59
Getting Started with the Aggregation Pipeline
01:21
Using the Aggregation Framework
03:12
Understanding the Group Stage
05:56
Diving Deeper Into the Group Stage
03:12
Time to Practice - The Aggregation Framework
1 question
Working with $project
09:58
Turning the Location Into a geoJSON Object
07:59
Transforming the Birthdate
03:48
Using Shortcuts for Transformations
01:25
Understanding the $isoWeekYear Operator
02:40
$group vs $project
00:55
Pushing Elements Into Newly Created Arrays
04:03
Understanding the $unwind Stage
02:50
Eliminating Duplicate Values
00:50
Using Projection with Arrays
03:03
Getting the Length of an Array
01:11
Using the $filter Operator
04:43
Applying Multiple Operations to our Array
07:31
Understanding $bucket
06:16
Diving Into Additional Stages
07:29
How MongoDB Optimizes Your Aggregation Pipelines
00:06
Writing Pipeline Results Into a New Collection
01:47
Working with the $geoNear Stage
05:16
Wrap Up
02:41
Useful Resources & Links
00:02

Working with Numeric Data

11 lectures
Module Introduction
00:54
Number Types - An Overview
06:28
MongoDB Shell & Data Types
00:22
Understanding Programming Language Defaults
03:33
Working with int32
05:17
Working with int64
06:32
Doing Maths with Floats int32s & int64s
06:57
What's Wrong with Normal Doubles?
04:20
Working with Decimal 128bit
04:14
Wrap Up
01:40
Useful Resources & Links
00:05

MongoDB & Security

12 lectures
Module Introduction
04:23
Understanding Role Based Access Control
06:47
Roles - Examples
02:13
Creating a User
05:50
Built-In Roles - An Overview
05:39
Assigning Roles to Users & Databases
04:48
Updating & Extending Roles to Other Databases
05:06
Time to Practice - Security
1 question
Adding SSL Transport Encryption
10:20
Encryption at REST
01:25
Wrap Up
03:21
Useful Resources & Links
00:08

Performance, Fault Tolerancy & Deployment

11 lectures
Module Introduction
01:52
What Influences Performance?
03:01
Understanding Capped Collections
05:05
What are Replica Sets?
04:36
Understanding Sharding
06:13
Deploying a MongoDB Server
02:25
Using MongoDB Atlas
09:17
Backups & Setting Alerts in MongoDB Atlas
01:27
Connecting to our Cluster
03:36
Wrap Up
01:58
Useful Resources & Links
00:03

Transactions

5 lectures
Module Introduction
01:04
What are Transactions?
02:03
A Typical Usecase
02:18
How Does a Transaction Work?
07:42
Useful Resources & Links
00:01

From Shell to Driver

19 lectures
Module Introduction
02:13
Splitting Work Between the Driver & the Shell
02:06
Preparing our Project
04:49
Installing Visual Studio Code
01:46
Installing the Node.js Driver
04:56
Connecting Node.js & the MongoDB Cluster
06:31
Storing Products in the Database
04:53
Storing the Price as 128bit Decimal
06:10
Fetching Data From the Database
06:23
Creating a More Realistic Setup
11:48
Getting a Single Product
03:20
Editing & Deleting Products
07:28
Implementing Pagination
04:58
Adding an Index
01:27
Signing Users Up
07:03
Adding an Index to Make the Email Unique
01:13
Adding User Sign In
05:18
Wrap Up
01:11
Useful Resources & Links
00:03

Introducing Stitch

21 lectures
Module Introduction
01:42
Stitch & MongoDB Realm
00:17
What is Stitch?
07:23
Preparations
02:04
Start Using Stitch
04:33
Adding Stitch to our App & Initializing It
08:11
Adding Authentication
02:47
Sending Data Access Rules
03:57
Fetching & Converting Data
01:49
Deleting Products
03:02
Finding a Single Product
04:09
Adding Products
03:29
Updating Products
03:46
Switching to User Email & Password Authentication
01:54
Adding User Sign Up & Confirmation
06:32
Adding User Login
03:42
Rules & Real Users
01:48
The Current State of Authentication
00:21
Functions & Triggers
05:01
Wrap Up
00:56
Useful Resources & Links
00:04

Roundup

3 lectures
Course Roundup
00:55
Course Slides
00:01
Bonus: More Content!
00:20

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.