PHP, RPG and System i - The app development trifecta - The iSeries Blog
» VIEW ALL POSTS Sep 5 2007   9:36AM GMT

PHP, RPG and System i - The app development trifecta



Posted by: Adam Trujillo
Product recommendations or warnings, System i software

Thanks to Search400.com 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).

Comment on this Post


You must be logged-in to post a comment. Log-in/Register

joseph smith  |   Feb 11 2008   5:44PM GMT

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.


 

Kevin Ketzler  |   Feb 21 2008   1:02PM GMT

Read a Data Area As a One-Row Table with SQL
 <a href="http://www.itjungle.com/fhg/fhg051904-story03.html" title="http://www.itjungle.com/fhg/fhg051904-story03.html" target="_blank">http://www.itjungle.com/fhg/fhg051904-st…</a>