In the previous chapter, we showed how to use the shell for scripting, administration, and developing in a secure way. In this chapter, we will dive deeper into using MongoDB with drivers and popular frameworks from Ruby, Python, and PHP.
We will also show best practices for using these languages and the variety of comparison and update operators that MongoDB supports on a database level and which are accessible through Ruby, Python, and PHP.
The frameworks that we will use for each language are:
- Ruby: mongo-ruby-driver and Mongoid
- Python: mongo-python-driver and PyMODM
- PHP: mongo-php-driver and Doctrine