In the previous chapter, we learned how to use the mongo 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: Hypertext Preprocessor (PHP).
We will also show the best practices for using these languages and the variety of comparison and update operators that MongoDB supports on a database level, which are accessible through Ruby, Python, and PHP.
In this chapter we will learn the following topics:
- MongoDB operations
- CRUD using Ruby, Mongoid, Python, PyMODM, PHP and Doctrine
- Comparison operators
- Change streams