O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learn MongoDB From Scratch

Video Description

This course provides a foundation for a solid understanding of MongoDB's capabilities and functionality. The information in this course culminates an understanding of MongoDB's capabilities and limitations as a database, it's place in Web Application design, and it's integration into web applications built with any server-side or UI framework. Considerations in modeling data for use with MongoDB are discussed, Mongo's powerful querying and aggregation libraries are explored, and it's scaling capabilites are presented in detail. Over this course you'll set up a powerful and efficient development environment with an online IDE. You'll then learn to get MongoDB configured and running, how to import data into MongoDB, and how to create new databases. You'll practice using Mongo Query Language commands including CRUD operations and creating indexes for optimizing those operations. This course also introduces you to the powerful MongoDB Aggregation Framework and leads you through detailed examples as you design and build aggregation features into the course's hands-on web application coding project. You'll become familiar with MongoDB's powerful scaling capabilities as this course presents replication and sharding principles, practices, and design guidelines. After learning all of the material in this course's lectures and coding all of the hands-on practice tasks, you'll have a complete and working web application, fully integrated with MongoDB and capable of running various queries, aggregation processes, and able to display database output in a non-trivial Javascript UI. You'll walk away from this course with the core knowledge, practice, and confidence necessary to immediately begin working productively with MongoDB in the real world.

Table of Contents

  1. 1.Introduction to the Course 00:00:44
  2. Welcome to MongoDB made easy! 00:00:44
  3. How This Will Go 00:07:03
  4. Our Hands-on Project 00:06:22
  5. Setup Our Tools 00:11:40
  6. Section 1 Recap 00:00:39
  7. 2.Set Up Our Project 00:00:40
  8. Section 2 Introduction 00:00:40
  9. Recovering MongoDB 00:02:54
  10. Import Data With Mongoimport 00:06:06
  11. Use the Mongo Shell 00:01:52
  12. Section 2 Recap 00:01:23
  13. 3.Start with Queries and Operations 00:01:11
  14. Section 3 Introduction 00:01:11
  15. Retrieve data with find 00:05:54
  16. Create data with save & insert 00:03:09
  17. Update data with update 00:04:12
  18. Deleting data with remove 00:02:53
  19. Display User Data in our App 00:06:41
  20. Section 3 Recap 00:01:00
  21. 4.Model New Entities 00:00:50
  22. Section 4 Introduction 00:00:50
  23. Rules for Modeling 00:03:19
  24. Simple & Complex Models 00:02:48
  25. Modeling ‘Event’ Data 00:05:56
  26. Modeling ‘Event Registration’ data 00:06:11
  27. Section 4 Recap 00:00:47
  28. 5.Indexing MongoDB 00:00:43
  29. Section 5 Introduction 00:00:43
  30. Indexing in MongoDB 00:02:06
  31. Using Indexes 00:01:18
  32. Creating Indexes 00:03:20
  33. Section 5 Recap 00:00:50
  34. 6.MongoDB Aggregation Framework 00:02:07
  35. Section 6 Introduction 00:02:07
  36. Aggregation Concepts 00:01:34
  37. Pipeline Stages & Operators 00:02:31
  38. Aggregation in our Project 00:03:11
  39. Use Our Aggregated Data 00:05:58
  40. Section 6 Recap 00:01:41
  41. 7.Replication & Sharding 00:01:25
  42. Section 7 Introduction 00:01:25
  43. What are Replica Sets 00:02:15
  44. Automated Failover 00:01:55
  45. What is Sharding 00:01:21
  46. Rules for Sharding data 00:03:48
  47. Section 7 Recap 00:00:55
  48. 8.Our Web App 00:06:08
  49. Section 8 Introduction 00:06:08
  50. Our Project’s State 00:05:23
  51. Our app.js file 00:05:25
  52. Our Aggregate Queries 00:03:00
  53. Section 8 Recap 00:03:28
  54. 9.Course Outro 00:03:49
  55. Section 9 Introduction 00:03:49
  56. Learning Objectives & Project Requirements Review 00:07:36
  57. Where to go from here 00:04:16
  58. Section 9 Recap 00:01:05
  59. 10.Appendix 1 00:04:38
  60. Recovering MongoDB in Cloud9 00:04:38