Getting the Most out of MongoDB
summary
Shows concrete, runnable specifics: PHP uses the MongoDB extension (install with pecl install mongodb) plus the composer library, collections auto-create on first insert, and the driver exposes find/insert/update/delete and operators like $set/$inc/$push. Indexes, geospatial and text indexes and explain plans are demonstrated; the aggregation pipeline (including sample which can return 1000 docs and unwind/group stages) builds histograms and works. Replica sets run 1–50 nodes, Atlas offers a free tier, and transactions are coming to the driver.
AI-written summary · about
chapters (22)
- 0:00About Me
- 0:49Terminology
- 2:24Documents: Complex
- 5:37Collections
- 7:32MongoDB: Indexes
- 9:22Libraries, Extensions, and Drivers
- 12:15MongoDB & PHP: CRUD
- 16:51Querying
- 20:29Data Model
- 23:27Schema Considerations
- 24:04EAV: Entity Attribute Value
- 24:59Enforcing Schema
- 27:29Creating Indexes
- 28:54Explain (Index)
- 30:32Special Indexes
- 32:31Our Example data
- 33:08Aggregation Pipeline Stages
- 33:58What is your favourite German beer?
- 35:12Give an overview of number of beers per x
- 37:37MongoDB Replica Set Features
- 38:27How MongoDB replication works
- 39:25MongoDB Atlas
related talks
47mHHVM and MongoDB — the perfect combination
01h 34mThe Spring Data MongoDB Project
01h 08mMongoDB First Steps
39mMongoDB vs MongoDB: How, When and Where to Use It
45mMongoDB
48mGetting Non-Relational with MongoDB
19mReady for the Agentic Era Where Percona for MongoDB Is Going Next
10mEverything You Know About MongoDB is Wrong
