The iSeries Blog

Sep 5 2007   9:36AM GMT

PHP, RPG and System i – The app development trifecta

Adam Trujillo Profile: Atrujillo

Thanks to reader Aaron for sending us an email about his experience with PHP on System i.

At my last company (dental insurance) I was brought in to migrate away from a Lotus web server onto a LAMP stack that talked to RPG on System i. It worked (mostly) like a charm with about 20 RPG developers and 3 web programmers. A fair amount of the business logic was done on the RPG side while the PHP front ends took care of capturing/cleansing/display input/output. Although with session based variables available in PHP some of the business logic was just beginning to be moved on to the web side as well. The Zend platform was in the beginning stages of being evaluated when I left.

I’ve since taken those lessons and applied them as an IT Manager at my current job which is also based on System i. Again, it works wonderfully. Here we use it more for reporting than anything else over the intranet but it has given us a flexibility that the company did not have before (example: hooking up lat/long info from the platform application directly to Google Maps via PHP and displaying truck location on demand where previously you had to either login into vendor’s site and give truck # or call an 800 number and have it automatically faxed). I have considered using the Zend platform on the iSeries itself but have yet to determine a great reason to do so when LAMP over to the iSeries seems to deliver everything I need at the moment.

I’ve worked on a fair amount of different platforms over my career and I believe that the marriage of PHP and RPG on the i is one my favorite combo yet (provided I have the developers for them).

2  Comments on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.
  • joseph smith
    i am new to db2 and rpg. PHP is my language. I have been LAMP for 5 years. Well, now i am hire to create a PHP web interface with DB2 RPG on an AS400. I need help reading a Data Area. Also some haves #signs as part of the variable.
    0 pointsBadges:
  • Kevin Ketzler
    Read a Data Area As a One-Row Table with SQL
    0 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: