Introduction
MongoDB is a popular and open source document-oriented NoSQL data store. It is designed for scalability and stores complex object graphs in a single document. It has support for dynamic queries, secondary indexes, fast atomic updates, aggregation, and inbuilt support for replication and sharding.
This chapter will use the PHP 5.4 application we created in Chapter 3, Creating and Managing Applications. If you do not have any OpenShift application running, then you can create a new OpenShift application by running the following command:
$ rhc create-app myapp php-5.4