Databases

How to Connect a Django App to MongoDB with PyMongo — step-by-step Databases tutorial on Progressive Robot

How to Connect a Django App to MongoDB with PyMongo

PyMongo is the official driver for connecting Django apps to a MongoDB database. In this tutorial, you will create a Managed MongoDB database cluster and use PyMongo to connect it with your Django application. You’ll then use PyMongo to store data in your MongoDB instance and retrieve the data.

Read more
How To Use Lithium to Create a Web App — step-by-step Databases tutorial on Progressive Robot

How To Use Lithium to Create a Web App

In this tutorial, we’ll continue where we left off previously when we installed Lithium onto our Ubuntu 12.04 VPS and configured all the necessary requirements for building our web application. If you remember, we also connected a MySQL database and had a glimpse of how to print out “Hello World” onto the page. What will follow now is illustrating how to use the three MVC components (Models, Views and Controllers) together with the Lithium framework.

Read more
How To Use an SQLite Database in a Flask Application — step-by-step Databases tutorial on Progressive Robot

How To Use an SQLite Database in a Flask Application

In web applications, you usually need a database, which is an organized collection of data. SQLite is a simple and fast open source SQL engine that can be used with Python to store and manipulate application data. SQLite works well with Python because the Python standard library provides the sqlite3 module, which you can use to interact with any SQLite database. In this tutorial, you’ll build a small web application that demonstrates how to use SQLite with Flask.

Read more
How To Choose a Redundancy Plan To Ensure High Availability — step-by-step Databases tutorial on Progressive Robot

How To Choose a Redundancy Plan To Ensure High Availability

Redundancy is a way of reducing the impact of system failures by configuring multiple avenues to achieve the objective. If a disk, a computer, or an entire portion of the network becomes unavailable for some reason, various forms of redundancy can help mitigate the impact on your currently running systems. This will allow you to address the issue without experiencing downtime.

Read more
CHAT