Chapter 8. Creating a Blog Application with the PHP Driver

In the previous pair of chapters, we discussed how to use MongoDB to store all sorts of data, as well as how to update data in a MongoDB database. We also covered a pair of drivers that you can use to extend MongoDB: the PHP driver and the Python driver.

At this point, you know what these drivers are, as well as some of the things you can do with them. In this chapter, you'll see a small but practical use for the MongoDB PHP driver. Granted, the previous chapters included some practical, real-world code snippets that can be used to accomplish nearly anything you might want to use MongoDB for. However, you haven't seen MongoDB used to create a basic application yet. To demonstrate the capabilities ...

Get The Definitive Guide to MongoDB: The NoSQL Database for Cloud and Desktop Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.