PHP Class Generator will generate PHP 5 source code from your mysql BD model. PCG The internal optimizer self create objects on demand and provide fluid interface. You can plug-it on Zend Framework. PCG takes advantage of technological lead of language.