Cgidev2

From Wikipedia, the free encyclopedia

Jump to: navigation, search

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 ILE or Cobol (using the older CGIDEV version) as the back-end Common Gateway Interface 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, Excel-XML and other text based files.

File:Cgidev2.jpg
An example of an application using CGIDEV2 and RPG to drive interactive web pages.

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.


[edit] References

July 9, 2009 Free Easy/400 PDF Software Now Supports i 6.1 Feature by Scott Klement
May 28, 2009 Easy400 Improves Support for Uploads by Scott Klement
May 1, 2009 IPL Your Career by Tommy Holden
May 1, 2009 Programming for the Web on the IBM i, what is possible by Andrew Borts (free registration required)
March 31, 2009 Kronos Gives iSeries HR App an HTML Overhaul by Alex Woodie
March 26, 2009 Easy400 Simplifies Parsing Excel by Scott Klement
December 11, 2008 MMAIL Now Includes POP3 Tool by Scott Klement
September 11, 2008 Insert Some Data into a Stream File by Scott Klement
August 13, 2008 Serving Up Spreadsheets by Paul Tuohy
June 4, 2008 Modern Tools for Today's RPG Programmer by Jon Paris
December 4, 2007 RPG's Persistent User Spaces by Paul Tuohy
August 14, 2007 Using CGIDEV2 to generate XML documents by Jon Paris
August 13, 2007 Essential Skills for System i Web Development, Part II by Duncan Kenzie
June 10, 2007 Weaving WebSphere: Comparing the Web Languages by Joe Pluta
April 1, 2007 RPG - Anchoring Your Team by Jon Paris and Susan Gantner
March 13, 2007 Web Services for the Traditional RPG Programmer, Part I by Paul Tuohy
February 15, 2007 RPG POP3 Tool Available by Scott Klement
February 14, 2006 CGIDEV2: Building native iSeries Web pages by Martin Cytrynbaum (free registration required)
January 11, 2006 Use AJAX for Bright and Shiny Web Apps, Part 2 by Duncan Kenzie
December 12, 2005 Getting started with CGIDEV2 -- Part 4 by Paul Tuohy (free registration required)
September 7, 2005 Getting started with CGIDEV2 -- Part 3 by Paul Tuohy (free registration required)
September 2005 Another Look at CGIDEV2 by Martin Cytrynbaum (PDF)
July 29, 2005 IBM will support CGIDEV2 by Luke Meredith, News Writer (free registration required)
July 26, 2005 Response to CGIDEV2 by Search400.com, Editors (free registration required)
July 26, 2005 IBM dropping CGIDEV2 web development tool? by Luke Meredith, News Writer (free registration required)
July 1, 2005 TechTip: Build Web Pages with RPG and CGIDEV2 by Kevin Forsythe
May 23, 2005 Getting started with CGIDEV2 -- Part 2 by Paul Tuohy (free registration required)
March 9, 2005 Getting started with CGIDEV2 -- Part 1 by Paul Tuohy (free registration required)
January 12, 2005 How does RPG talk to a browser? by Paul Tuohy (free registration required)
October 2004 You've Got Mail! by Jon Paris and Susan Gantner

[edit] External links