Learning Programmatic Access to MongoDB [Video]
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-MongoDBStyle and Approach
We’ll build a MongoDB class (object) that provides a convenient and efficient interface to MongoDB via the programming drivers/modules for PHP/Python, respectively.
|Course Length||12 hours 20 minutes|
|Date Of Publication||30 Mar 2019|
|Data Requirements for CREATE|
|CREATE the User Record – Part 1|
|CREATE the User Record – Part 2|
|Fetching Records – Part 1|
|Fetching Records – Part 2|
|Fetching Records – Part 3|
|Updating Records – Part 1|
|Updating Records – Part 2|
|Updating Records – Part 3|
|Updating Records – Part 4|
|Deleting Records – Part 1|
|Deleting Records – Part 2|
|Python – Connecting to MongoDB|
|Python – Fixed TLS Issues|
|Python – AppStack|
|Insert New User – Part 1|
|Insert New User – Part 2|