Maint_APP : Doc - Tutorial

Info

Maintenance Application

Custom designs

Custom designs are a main service.

About the initiator

My name is James Wayne. I live in ... the Netherlands

Maintenance Application - Documentation



Maint_APP : Doc - Tutorial

Below the CPO Maintenance application is presented (version 0.1).

CPO is an example of the architecture to connect Python / WxWindows screens to a Mysql database and to maintain the information in the database through screens by inserting, updating and deleting records.

Overview

Summary

Customer Products Orders (CPO) is an example of an application, that can be used to maintain data in tables of a relational database model.

The example shows how an application written in the Python language can be used to connect to a database, retrieve records and put them in a grid. The data can be changed and saved back to the database.

The WxWindows extension of Python is used, because it makes it easier to create an application using window components. The Object model is relatively easy to use.

The usage of Mysql is an example of an Relational Database Management System (RDBMS), that is both easy to install and small with respect to disk usage.

Quick starting guide

The following one minute install guide gets your python / wxwindows maintenance application running against a mysql database in a few commands.



Topics - Relational Databases

Relational Databases (as formally defined in the first paragraph of Wikipedia - Relation database and in Wikipedia - database ) can be described in an informal way as below:



Topics - Structured Query Language (SQL)

Structured Query Language (SQL) is a language that in fact has only a few functions:

There are some minor differences between different rdms implementations Oracle and Mysql



Topics - Python

Working with Python is working with python files.



Topics - Components

Working with Python in a GUI environment is fairly easy, once you accept that everything is an object. To get screens going, you have to create instances of objects in a certain order. The examples of the wxwindows environment show how it has to be done.



Picture fetch

If you like the header, it can be found here.


Images

firefox

If you're using firefox, put your cursor over the logo. But for some reason IE doesn't like image rollover effects. Its not that big of a deal.