Some knowledge of PHP is becoming a requirement for the debonair, sophisticated, man-about-town RPG programmer.
Written by David Shirey
Welcome to the second installment about PHP. Nobody can dispute that PHP has become very important in the RPG world for providing Web access support for our new and existing RPG applications.
In the last installment, we reviewed some very basic facts about PHP—things you might want to know but would be hesitant to ask about on a first date. We want to continue that exploration in this installment by looking at what incorporating PHP will do to your normal routine.
ABSTRACT for RDP gives you the ability to create a cross-reference of system objects and procedures, helping you multitask easily and spend less time editing, compiling, and debugging programs. It increases productivity across the development process by making it easier to organize, track, and analyze code.
ABSTRACT also allows you to edit source with a built-in LPEX editor or with IBM's CODE editor, and Tree View gives you quick access to the objects currently loaded into the cross-reference. It also helps document and analyze applications with graphical flowcharting.
Implement a cache based on the least recently used replacement.
Written by Bruce Vining
If you've been following the "API Corner," you know that the articles are intended to introduce you to what's available in system APIs, tell you how to code to the APIs, and demonstrate calling the APIs within the context of a complete program that can be compiled and run. The articles generally do not, however, discuss considerations of how you might integrate the API into your existing or new applications. Considerations such as validation of input parameters, error recovery, performance, and the like are typically left to you.