O'Reilly logo

PHP and MongoDB Web Development by Rubayeet Islam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Using MongoDB with Relational Databases

We have covered different aspects of MongoDB in the previous chapters, hopefully enough to make you feel confident of building your own web applications on top of it. In this chapter, we are going to discuss an interesting concept: using MongoDB and a relational database system together. We are going to examine a fictional project that is built around a relational database, and identify use cases for which MongoDB is a better fit. The practical examples in this chapter will demonstrate how we can use MongoDB along with a relational database for data archiving, storing aggregation results, caching JOIN queries, and so on. Lastly, we will discuss some of the challenges of working with such a hybrid ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required