Cgidev2
Encyclopedia
CGIDEV2 is a free and open source iSeries (AS/400) based program development toolkit that facilitates the development of interactive web-based programs using RPG
RPG programming language
RPG is a high-level programming language for business applications.It has a long history, having been developed by IBM in 1959 as the Report Program Generator - a tool to replicate card processing on the IBM 1401 then updated to RPG II for the IBM System/3 in the late 1960s, and since evolved into...

 ILE or Cobol
COBOL
COBOL is one of the oldest programming languages. Its name is an acronym for COmmon Business-Oriented Language, defining its primary domain in business, finance, and administrative systems for companies and governments....

 (using the older CGIDEV version) as the back-end Common Gateway Interface
Common Gateway Interface
The Common Gateway Interface is a standard method for web servers software to delegate the generation of web pages to executable files...

 language. The functionality of this toolset is incorporated into an RPG ILE program by means of a service program that contains all of the procedures required to read input from a browser, generate and send the appropriate response back to the browser. CGIDEV2 is commonly used to generate static or interactive HTML/DHTML pages but it can also produce CSV, XML
XML
Extensible Markup Language is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards....

, Excel-XML and other text based files.

CGIDEV2 was developed by Mel Rothman while he was with IBM Rochester. It was released to the public in 1999. The product was maintained and promoted by Mr. Rothman and Dr. Giovanni B. Perotti of IBM Italy, who have added enhancements, documentation and code samples to the package. Because the product is written in RPG ILE and comes with complete source, end users have also been able to contribute enhancements to the package and modify it for their specific requirements.

Unlike most web solutions for the iSeries, CGIDEV2 is neither a terminal emulator or an SQL based solution. CGIDEV2 effectively extends widely used RPG programming language with specific procedures for the web. This permits an iSeries programmer to continue to use all of the familiar tools and techniques that they are accustomed to as they develop interactive programs for the web.

A particular feature of the CGIDEV2 toolkit is that it allows the programmer to isolate the HTML in one or more external template files from the executing CGI program, with special tokens in the HTML templates being replaced at run-time via toolkit procedures. This separation of the HTML code from the CGI program promotes the efficient and consistent development and subsequent maintenance of enterprise scale business applications.

Criticism: While CGIDEV2 is a popular choice as a web development languages for RPG programmers on IBM iSeries systems, CGIDEV2 lacks in some features offered by other web development languages such as session management and the ability to design programs using object oriented design principles. IBM's ambiguous commitment to the CGIDEV2 product and to the iSeries in general is also an issue to some users.

External links

  • CGIDEV2 download at IBM
    IBM
    International Business Machines Corporation or IBM is an American multinational technology and consulting corporation headquartered in Armonk, New York, United States. IBM manufactures and sells computer hardware and software, and it offers infrastructure, hosting and consulting services in areas...

    .
  • Dr Perotti's site
  • Renaissance, an open source framework for IBM iseries Application Development based on CGIDEV2 toolkit by CoralTree Systems.
  • Facebook
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK