Learn how to build modern, scalable applications with MongoDB. This two-day course introduces MongoDB’s document-oriented data model and demonstrates how to design databases, perform queries, build aggregation pipelines, create indexes, and integrate MongoDB with applications. Participants learn how to structure application data effectively, work with MongoDB drivers, manage data consistency, and optimise application queries. The course combines essential concepts with practical development patterns that can be applied to web, mobile, cloud, and enterprise applications.
You will learn how to design and develop applications that use MongoDB as their primary database. You will work with documents and collections, perform CRUD operations, create aggregation pipelines, design indexes, and connect applications to MongoDB using supported drivers.
• Understand MongoDB architecture and the document data model
• Create, query, update, and delete documents
• Design effective schemas for application requirements
• Analyse and transform data with aggregation pipelines
• Improve query performance with appropriate indexes
• Use transactions and data consistency features
• Integrate MongoDB with applications using database drivers
• Apply secure and maintainable development practices
• Basic programming experience in a language such as JavaScript, Python, Java, C#, or PHP
• Basic understanding of databases and application development
• Familiarity with JSON or similar structured data formats is recommended
• Previous experience with relational databases is beneficial but not required
*We customize the course outline and content to your specific needs and relevant use cases.
Course Outline*:
*We customise the course outline and content to your specific needs and relevant use cases.
Day 1: MongoDB fundamentals and application data
Module 1: Introduction to MongoDB
• MongoDB use cases, architecture, and core components
• Understanding databases, collections, and documents
• Comparing document databases with relational databases
• Working with MongoDB Shell and MongoDB Compass
Module 2: Creating and modifying data
• Creating databases, collections, and documents
• Inserting individual documents and batches of data
• Updating and replacing documents
• Deleting data and managing write results
Module 3: Querying MongoDB
• Finding documents with filters and comparison operators
• Querying arrays, embedded documents, and nested fields
• Sorting, limiting, and projecting query results
• Combining query conditions with logical operators
Module 4: Schema design for developers
• Modelling relationships through embedding and referencing
• Designing documents around application access patterns
• Managing document growth and duplicated data
• Applying schema validation and consistent data structures
Day 2: Aggregation, performance, and application integration
Module 5: Aggregation pipelines
• Understanding aggregation pipeline stages
• Filtering, projecting, grouping, and sorting data
• Unwinding arrays and processing nested documents
• Combining collections and producing analytical results
Module 6: Indexing and query performance
• Understanding how MongoDB uses indexes
• Creating single-field and compound indexes
• Using query plans to analyse performance
• Avoiding inefficient queries and unnecessary indexes
Module 7: Transactions and data consistency
• Understanding atomic operations at document level
• Using multi-document transactions
• Selecting appropriate read and write concerns
• Handling concurrent updates and application errors
Module 8: Application integration and development practices
• Connecting applications through MongoDB drivers
• Managing connections and connection pools
• Handling errors, validation, and application-level security
• Testing, troubleshooting, and maintaining MongoDB applications
Hands-on learning with expert instructors at your location for organizations.
Master new skills guided by experienced instructors from anywhere.