PHPMaker is a Rapid Application Development (RAD) tool that we use extensively here to quickly and cheaply build database applications. It uses code generation techniques to accomplish this.