Data Modeling in MongoDB

Data Modeling in MongoDB

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 2h 25m | 326 MB

MongoDB is a leading noSQL database that stores data in documents or collections, which is very different from the relational or SQL databases that most data developers are familiar with. In this course, instructor John Cokos explores ways to use MongoDB at scale with complex data modeling techniques and cloud deployments. As a means of demonstrating the complexities of modeling real-world data with MongoDB, John works through the process of setting up an application resembling a social media website, and shows you how to model frequently used, deeply nested, and shared data sources to support an enterprise-level application. John also presents a series of challenges and solutions, so you can test your learning along the way.

Table of Contents

Introduction
1 Introduction to data modeling
2 Prerequisites
3 The problem domain Social media project

MongoDB Modeling Basics
4 Mongo ERD vs. SQL
5 Application-driven architecture
6 Query-first modeling
7 Challenge Create the golden model object for an online retailer
8 Solution

Complex Modeling
9 Embedded documents as subdocuments
10 Summary and partial documents
11 One-to-one relationships
12 One-to-many relationships with embedded documents
13 One-to-many relationships with back references
14 Many-to-many relationships
15 Challenge Create the proper relationships and summary documents for an online store
16 Solution

Implementation Tools
17 Schema versioning
18 JSON Schema
19 Modeling tools
20 ORMs
21 Challenge Create a schema in a visual tool and in Mongoose
22 Solution

Best Practices
23 Embedding vs. references
24 Optimization Antipatterns
25 Optimization Best practices

Homepage