PHP and MongoDB Web Development
MongoDB A document-based NoSQL database
Downloading, installing, and running MongoDB
Time for action - downloading and running MongoDB on Windows
Time for action - downloading and running MongoDB on Linux
Creating databases, collections, and documents
Time for action - creating databases, collections, and documents
Installing the PHP driver for MongoDB
Time for action - installing PHP driver for MongoDB on Windows
Connecting to the MongoDB server from PHP
Time for action - creating a connection to the MongoDB server from PHP
Building your First MongoDB Powered Web App
Have the MongoDB server running
Inserting documents in MongoDB
Time for action - building the Blog Post Creator
Querying documents in a collection
Time for action - retrieving articles from a database
Doing advanced queries in MongoDB
Time for action - building the Blog Dashboard
Time for action - building the Blog Editor
Time for action - deleting blog posts
Managing relationships between documents
Time for action - posting comments to blog posts
Understanding PHP native session handling
Time for action - testing native PHP session handling
Implementing session handling with MongoDB
Time for action - building the SessionManager class
Putting the SessionManager in action
Time for action - putting SessionManager into action
Building the user authentication module
Time for action - building the User class
Creating the login, logout, and user profile page
Time for action - creating the login, logout, and profile page
Time for action - generating sample data
Performing MapReduce in MongoDB
Time for action - counting the number of articles for each author
Performing MongoDB MapReduce within PHP
Time for action - creating a tag cloud
Performing aggregation using group()
Time for action - calculating the average rating per author
Listing distinct values for a field
Time for action - listing distinct categories of articles
Counting documents with count()
Why MongoDB is a good choice as a web analytics backend
Time for action - logging page visits with MongoDB
Extracting analytics data with MapReduce
Time for action - finding total views and average response time per blog post
Real-time analytics using MongoDB
Time for action - building a real-time page visit counter
Using MongoDB with Relational Databases
The motivation behind using MongoDB and an RDBMS together
Time for action - creating the database in MySQL
Caching aggregation results in MongoDB
Time for action - storing the daily sales history of products in MongoDB
Benefits of caching queries in MongoDB
Using MongoDB for data archiving
Time for action - archiving old sales records in MongoDB
Time for action - using MongoDB to store customer metadata
Problems with using MongoDB and RDBMS together
Handling Large Files with GridFS
Time for action - uploading images to GridFS
Time for action - serving images from GridFS
Time for action - reading images in chunks
When should you not use GridFS
Building Location-aware Web Applications with MongoDB and PHP
Detecting the location of a web page visitor
Time for action - detecting location with W3C API
Time for action - creating geospatial indexes
Time for action - finding restaurants near your location
Time for action - finding nearby restaurants that serve burgers
Improving Security and Performance
Enhancing query performance using indexes
Time for action - creating an index on a MongoDB collection
Time for action - adding user authentication in MongoDB
Easy MongoDB Administration with RockMongo and phpMoAdmin
Administering MongoDB with RockMongo
Time for action - installing RockMongo on your computer
Using phpMoAdmin to administer MongoDB