Duration
2 days
Course Description
The trainer will introduce to the participants the concepts from ground up and will help them to understand why the control of data is at times more important than availability. At the end of the course, the candidate will be good at performing all major database operations in MongoDB including how MongoDB can be the backend for PHP.
MODULE 1: INTRODUCTION
- Welcome
- Introduction to MongoDB
- MongoDB vs MySQL
MODULE 2: INSTALLING MONGODB
- Install MongoDB
- Installing MongoDB Windows and Mac
- Introduction to MongoShell
- Tools along with MongoDB
MODULE 3: FUNDAMENTALS OF MONGODB
- Create First Database
- Create Document and Saving it to Collection
- Drop a Database
- Create a Collection – using db.createCollection(name.options)
- Drop a Collection
MODULE 4: MONGODB – CREATE, READ, UPDATE & DELETE
- Creating/Inserting a Document in Collection using Javascript File
- Inserting Array of Documents
- Reading a Document – Querying
- Reading a Document with $lt, $gt operator
- Other Query Operators
- Updating Documents
- Deleting Documents
MODULE 5: PERFORMANCE TUNING IN MONGODB
- Update a Document in MongoDB
- Introduction to Indexes
- Understanding Impact of Indexes
- Creating Index
- Finding Indexes
- Dropping Index
MODULE 6: OBJECTIDS IN MONGODB
- Understanding ObjectIds
- Creating ObjectIds
- Advantages of ObjectIds created by MongoDB
- Disadvantages of ObjectIdscreated by MongoDB
- Quiz on ObjectIds in MongoDB
MODULE 7: AGGREGATION FRAMEWORK IN MONGODB
- Introduction to Aggregation Framework
- Using Aggregate () Method – Aggregation Example 1
- Using Distinct () and Count ()
- Sorting Documents
MODULE 8: DATA MODELLING IN MONGODB
- Introduction to Data Modelling in MongoDB
- Data Modelling using References
- Data Modelling using Embedded Documents
MODULE 9: RELATIONSHIPS IN MONGODB
- One-to-One Relationship
- One-to-Many Relationship
- Many-to-Many Relationship
MODULE 10: USER/ROLE MANAGEMENT IN MONGODB
- Creating User in MongoDB Database
- Starting mongodb server with Authentication
- Unauthorized Access Error – User Role
MODULE 11: MONGODB TOOLS
- NoSQL Manager for MongoDB – Download & Installation
- Getting Started with NoSQL Manager for MongoDB: CRUD
- Download and Installation of Robo 3T or Robomongo
- Working with Robo 3T/Robomongo
- Downloading & Installing Studio 3T (MongoChef)
- Getting Started with Studio 3T (MongoChef)
- Importing CSV Files into MongoDB Documents
MODULE 12: CRUD APP WITH MONGODB
- Connect a PHP App to a MongoDB
MODULE 13: CONCLUSION
- QA
- Useful MongoDB Resources
- Feedback
Programme scope, delivery arrangements and suitability are confirmed during enquiry.