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.
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.