Aller au contenu principal

Database Management Library


Database Management Library


Database Management Library (DBL) is a relational database management system (RDBMS) contained in a C++ programming library. The DBL source code is available under the terms of the GNU General Public License.

DBL was fully developed within two weeks, as a holiday programming project.

It aims to be easy and simple to use for C++ programming.

Design

DBL is a library and becomes an integral part of the application program. Unlike client–server model database management systems that are standalone process with which the application program communicates. The application software uses DBL's functionality through function calls.

Sample programs

Creating a simple database

This is a basic program that creates a simple database. However, as this task must be done usually once, it can be done by the DBL command-line interface.

Library structure

Class database

This class stores the database name and its tables. The main functions are:

Useful functions that use the class database are:

Class table

This class stores the table name and its structure, the columns of the table. The main functions are:

Useful functions that use the class table are:

Class row

This class stores the columns of the table and the data to be stored in the data file. The main functions are:

Useful functions that use the class row are:

Class storage

This class stores the column and a value for that column. The main functions are:

Useful functions that use the class storage are:

Class column

This class stores the name and the structure of a column. The main functions are:

Class index

This class stores the indexes of a table. The main functions are:

Useful functions that use the class index are:

DBL command-line interface

By the DBL command-line interface program one can create a database, a table, and add columns to this table, besides other operations such as printing.

External links

  • Official website
Collection James Bond 007

Text submitted to CC-BY-SA license. Source: Database Management Library by Wikipedia (Historical)


INVESTIGATION