company logo

Tutorial: 8 Steps to run an ODABA GUI application

This is a short instruction guide for starters in order to create a database and build a simple GUI application. 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 an application.

The example starts with installing the software, defining a database schema, creating and evaluating test data, building a GUI application and creating an application context library.

The following steps are to be executed:

  • (0) - Install the software (binary or sources)
  • (1) - Create Sample project
  • (2) - Load schema to database
  • [ (3) - Update schema ]
  • (4) - Create test data
  • (5) - Evaluate test data
  • (6) - Design a GUI application
  • (7) - Create application context library
  • (8) - Run application

In order not to run into problems when trying the sample, one should name the sample project Sample. Only in this case, scripts are copied to the proper location (Sample/osi directory). When using installation defaults, one may simply perform the steps below. More details are described in the following topics.

# default installation

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

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

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

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

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

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

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

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

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

                          ODABA>call 'osi/Sample.osh'

                          ...

                          Sample_dat/Company>quit

(6) $(HOME)/odaba/Sample$ ./Designer.sh

(7) $(HOME)/odaba/Sample$ ./ClassEditor.sh

(8) $(HOME)/odaba/Sample$ ./Main.sh