Books by Bryan Meyers

Programming in RPG IV

Control Language Programming for IBM i

RPG IV Jump Start

Power Tips for RPG IV

VisualAge for RPG by Example

 
WWW.RPG.IV — RPG Programming for the Web Print E-mail

This class will introduce you to everything you need to know to get started writing RPG programs for the Internet. It is a code-intensive presentation, with many examples of using the HTTP APIs and writing procedures to create your own web toolbox and write typical applications for Internet browser interfaces.


Recommended schedule: 3 days (lab workshop)

This class is also available as a 1 day seminar (with no labs).


Who Should Attend

This class is appropriate for existing RPG IV programmers who need to build web-based RPG IV programs using CGI techniques.


Prerequisites
To successfully complete this course, students should have completed the following courses, or have equivalent knowledge/experience:

  • IBM i Concepts and Programming Tools
  • Introduction to RPG IV Programming
  • RPG IV and the Integrated Language Environment

Previous knowledge of another computer language (especially Java or C), as well as previous knowledge of HTML, may be helpful.


What You Will Accomplish

At the end of the course, students will be able to:

  • Configure the HTTP Server
  • Recognize and use the HTTP APIs in a CGI program
  • Use RPG IV to create browser output
  • Build source and IFS templates to facilitate HTML development
  • Read browser input in an RPG IV program
  • Create a service program "tool box" to write RPG IV based CGI programs
  • Write an RPG IV program to create report output for a browser
  • Use RPG IV to read an HTML form from a browser
  • Write a browser-based database maintainence application


What You Will Receive
Each student receives:

  • Custom printed handout, containing class notes
  • Completion certificate

Course Outline
The class covers these topics:

  • Introduction to HTML
  • Configuring the HTTP server
  • Introduction to CGI
  • Writing to the browser
  • Reading from the browser
  • Using the Integrated File System
  • CGI tips
  • Creating PDF files
  • Where do I go from here?


Hands-on Labs

  • HTTP Server Configuration
  • Writing to stdout
  • WWWEcho wrapper
  • Using source file templates
  • WWWGetdoc, WWWReplace procedures
  • WWWGetenv wrapper
  • WWWDecode, WWWExtract procedures
  • WWWMapqry wrapper
  • Using an HTML form
  • WWWDump procedure
  • Reading from stdin
  • WWWRead wrappper
  • Using the IFS
  • Using IFS Tenplates -- WWWGetIFS wrapper
  • Building a Service Program