Build a CRUD Application with Python and MariaDB
Build a CRUD Application with Python and MariaDB, Create a Python program that interacts and stores data in MariaDB Database.
Python is a high-level, general-purpose programming language. Its design philosophy emphasizes code readability with the
use of significant indentation. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small- and large-scale projects
MariaDB Server is one of the most popular open source relational databases. It’s made by the original developers of MySQL so they share some similarities.
In this course, you learn how to interface a Python application program with a MariaDB Server Database. Python has various modules that you can use to interact with databases. We will install a database connector module to enable us to interact with the MariaDB Server database from our Python application.
We will be installing Python and MariaDB database server and also create a new database and table that our Python application will interact with.
We will create the Python application frontend using Tkinter which is a built in Python module used to create graphical user interfaces. From tkinter module we will import ttk module which is a themed widget library that contains various types of widgets like buttons, labels etc that we can use to build the graphical user interface for our Python application. We will also import other bits and pieces from the tkinter module that our Python application will use.
Also, we will create a database configuration file that will be used to interact with the MariaDB Server database from our Python application. We will also be creating a class with methods and also stand alone functions for our application.
When the application is complete we will be able to perform CRUD operations on the MariaDB database from our Python application.