Programs of Hyper

gSAFE

General Sql dAtabase Front End (C++, Multiplatform, Qt)

gSAFE is a General Sql dAtabase Front End multiplatform library written in C++ based on Qt. It is a complex system which define meta objects (Tables / Lists), which can autogenerate the graphical interfaces to manipulate the data. These meta objects can work together with Sql databases (PostgreSQL,MySQL,SQLite,Odbc) handles timestamps, concurence writing etc. The meta objects contains all information about the data which need to manupulete, shows, store, print or even make a excel table from its, including the attributes for the gui to edit the fields. You can define this meta object from program code or XML source. After you defined the meta object they can be attached to gui or send to printer or make a table. The gui is generated by the attributes of meta data table. This library enables you to develop sql based application really quick time. The base library is developed with Qt so the generated gui is a Qt based gui, work on all platform where the Qt runs.

Stability/reliability

The author uses this library about six-eight different programs in industry environment. This programs have worked years ago without any noticable problems.

The base modules of gSAFE:
modules

Documentation

Api/Reference documentation
Class index only

Tutorials, demo programs based on gSAFE: gSAFE simple tutorial, pRepo complex tutorial

The XML format of the metadata definition used by HFactory documented here: Human doc / XML Schema (XSD file).
Schema address is https://github.com/hyper-prog/gsafe/blob/master/gsafemetadata.xsd

The gSAFE is run/tested on Qt4.5.X , Qt4.6.X , Qt4.7.X , Qt4.8.X and Qt5.0.X platforms.

Currently Supported databases

PostgreSQL "The world's most advanced..."
MySQL "The world's most popular..."
SQLite "The most widely deployed..."   open source database engines. :-)

Independently useable parts

The gSAFE contains a DebugConsole functionality which is useable without gSAFE to provide debugging console to any Qt gui based program. (Screenshot and documentation available here)

Download

https://github.com/hyper-prog/gsafe


gSAFE tutorial A simple tutorial (Task register) Screenshot Code Metadata
pRepo tutorial A more complex tutorial (Repository program) Screenshot

More complex tutorial: See the treegen which uses gsafe too
Author: Péter Deák
License: GPL v2
Contact Email: emailaddrat gmail.com