Breathe new life into IBM Informix 4GL applications




Your modernization : I-4GL/D-4GL to Genero


Exploit Cross Platform Widget Sets to the Full

Genero introduces a new way to render screen forms by representing them logically as an XML tree. This method enables the logical abstraction of the user interface from the physical implementation of the client technology. As a result, applications may execute across multiple client technologies and fully exploit the local widget set, whether it be a Windows, Linux, iMac or smartphone platform, using native desktop or web clients.


IBM Informix 4GL compatible

All of the language key words are the same and in many cases a simple recompilation of your I-4GL source code with Genero will still work. But the result will lack panache. To unleash Genero’s power, form definition files and some parts of the code can and should be revisited.

 

Improve the ergonomics, reduce code length

To enable cross platform support, FORM file layouts will need to be modified. I-4GL FORMs are still supported, but they have limited graphic capabilities. Start with the most commonly used data entry forms first. Less used FORMs can be compiled ‘as is’ to save time.

In I-4GL, application presentation forms part of the business logic. Genero on the other hand, separates business logic from the presentation layer with its XML architecture. As you review the design and ergonomics of your application, you see the opportunities to significantly reduce code length and simplify forms.

The result will be tighter more reliable code that executes faster than ever before.

 

IBM Informix database support

Through Genero, your application can connect to very early versions of the Informix database through to the very latest. Check with technical support to see if your version is supported.

 

Language extension with ‘C’ libraries

If you have extended I-4GL with custom ‘C’ libraries, Genero supports that too. The mechanism to integrate ‘C’ libraries differs from that used with I-4GL however. Custom ‘C’ libraries will need to be recompiled and linked as shared libraries to the Genero runtime system (Dynamic Virtual Machine).

Note also that ‘C’ functions that interact with the text terminal, for example via libcurses, will need to be rewritten in BDL.

Generally speaking, using ‘C’ functions in an application impairs its portability and we recommend rewriting as much of this as possible in BDL. Additionally, Genero introduces many new built-in utilities that can be used instead. For example, early versions of I-4GL did not include external file management commands. To work around this shortcoming, ‘C’ functions had to be used and most of the time, are still used. BDL now includes channel commands that can be used to read, write or append data from/to external files.

In summary, ‘C’ functions can be maintained for the first step but you should seriously consider rewriting them as BDL functions to keep your application as portable as possible.

 

Genero documentation

Genero documentation will be very helpful during the installation of the product and during the migration phase. The documentation includes also a list of new features, which may help you in modifying your application.

 
 
E-mail Print