Learning Programmatic Access to MongoDB [Video]

More Information
  • How to connect to a MongoDB resource for discreet write/read requests via the API
  • Connecting securely with a user or administrative account via the API CRUD
  • Writing queries to the API and processing returned data
  • Advanced queries: projections, discriminants, pagination, and aggregation
  • Debugging your MongoDB applications
  • How to connect using a user-account (RBAC) and how to connect over SSL/TLS using self-generated certificates
  • How to generate the root, intermediate, server and client SSL certificates necessary for establishing a secure connection over SSL/TLS to the MongoDB instance

MongoDB makes it possible to store and process large sets of data in ways that increase business value. The flexibility of unstructured, schema-less, storage, combined with robust querying and post-processing, makes MongoDB a compelling solution for enterprise big data needs.

In this product, we’ll demonstrate how to use two popular programming languages (Python, PHP) to connect to MongoDB databases and manipulate their contents via the use of the CRUD commands we covered in Program 2.

Instead of developing a basic application of limited functionality, we’re going to develop a MongoDB class that encapsulates all the CRUD functionality in methods. As a reusable class, you’re now free to incorporate your class into any application. Additionally, you can continue to add more functionality to your class, tailoring it to your precise requirements.

Taking this course will help you learn how to access MongoDB in both PHP 7.2 and Python 3.6 while still being able to execute CRUD commands in each language. You will also learn how to deal with exception handling for MongoDB API calls and add filters and projections to your queries. You will also populate your data structures with data fetched from MongoDB using cursors.

All the code and supporting files for this course are available at: https://github.com/PacktPublishing/Learning-Programmatic-Access-to-MongoDB

  • Use PHP/Python to connect to a MongoDB instance, cluster or shard using a user-account over TLS encryption
  • Learn basic CRUD queries via Python 3.6 and PyMongo
  • Learn basic CRUD queries via PHP 7.2 and the MongoDB PHP HVVM driver
Course Length 12 hours 20 minutes
ISBN 9781788620048
Date Of Publication 30 Mar 2019


Micheal Shallop

Micheal Shallop started programming in 1981 on a Tandy TRS-80 Model 1 and hasn’t stopped since. He graduated in 1991 from Oklahoma State University with an Honors degree in Computer Science. In his career, he’s coded in many programming languages and has used a variety of databases, relational and otherwise. He was the technical author of a patent awarded in 2011 for his work on real-time data collection, aggregation, and forecasting in a conventional (automotive) business. He is currently working for givingassistant.org, designing and writing a back-end, event-driven, object-oriented, data-agnostic framework utilizing AMQP as the data transport vector and PHP 7.1 as the primary language. He has been programming in PHP for MongoDB since 2010 and has been the architect of several systems, mostly back-end frameworks. Micheal is interested in anything with a programming language behind it. Most recently, he has been experimenting with Arduino programming on the Raspberry Pi, and writing a social media site in Python. He is also technically skilled in RabbitMQ, general database tech, Python, C/C++, Linux