In this chapter, we return once again to programming language drivers. You will learn what is involved in making a query using jQuery data tables for a PHP program which accesses a MongoDB database on the backend. You will then see how a new purchase is added using jQuery autocomplete fields, that is, by making AJAX queries via PHP to the MongoDB database, thus returning a JSON response. As part of the insert process, you will learn how to invoke transaction support*, embed customer and product documents into a purchase document, and add an entry to an embedded array. In addition, we will discuss adding x.509 certificates and authentication and access control.
The demo server used for this chapter is running Ubuntu Linux 18.04.
The topics to be covered in this chapter are as follows:
- Building the application
- Configuring transaction support
- Adding...