PHP and RPG

(click to open)

Quick Page Table of Contents

Scanning…

PHP and RPG

This demo shows PHP bringing RPG to web multiple ways.

PHPhelpRPG.html

←Click the image on the left to run the demo. Look for “Run me” to run examples.

Notes:

  • Demonstrate using RPG and PHP together for a partial DVD shopping application. DVD application was written in RPG using DSPF with subfile (5250 application). PHP was added to help bring the application to the web. Multiple web requirements were easily addressed with available PHP technology.
    • PHP access to DVD order data base (ibm_db2)
    • PHP access to DVD RPG business logic (PHP Toolkit)
    • PHP web services for RPG business logic (REST and SOAP)
    • Just for fun, RPG calling PHP (PASEMAIN)

Documentation: