company logo

Tutorial: 4 steps to develop the Sample database

This is a short instruction guide for starters in order to create the Sample database and provide and evaluate test data. The Manual refers to essential steps without being a detailed documentation of different ODABA features. The manual does not follow the development guide lines, which explicitly suggest beginning with the terminology model, but it demonstrates the essential technical steps for developing a database application.

The example starts with installing the software, defining a database schema, creating and finally evaluating test data. The example is based on OSI functions (ODABA Script Interface), which easily might be replaced by C++ or C# classes.

The following steps are to be executed:

  • (0) - Install the software (binary or sources)
    • (1) - Create Sample project
    • (2) - Load schema to database
  • (3) - Create test data
  • (4) - Evaluate test data

In order not to run into problems, we urgently suggest to name the sample project sample, since all the instructions are referring to this project name.

In order to build applications, one may use the C++ or C# API as being described in Reference documentation/ODABA application interface . You might also provide OSI classes in order to manipulate or evaluate data in the database.

In order to use advantages of ODABA's fast development technologies, the GUI framework could be used, which provides much support for developing GUI applications. Moreover, several ODE (ODABA Development Environment) GUI tools provide exhaustive support for schema development, method implementation and GUI application development ( see also ODABA GUI documentation - ODABA Development Environment (ODE) )

# default installation

(0) $(HOME)/odaba-10.0.0$ ./configure

(0) $(HOME)/odaba-10.0.0$ make

(0) $(HOME)/odaba-10.0.0$ make install

# linux commands for performind 8 steps to an ODABAS GUI application

(1) $ LD_LIBRARY_PATH=/usr/local/lib /usr/local/lib/odaba/tools/CreateProject

(2) $(HOME)/odaba/Sample$ ./ODL.sh

(3) $(HOME)/odaba/Sample$ ./OSI.sh

(4) $(HOME)/odaba/Sample$ ./OShell.sh

                          ODABA>call 'osi/Sample.osh'

                          ...

                          Sample_dat/Company>quit