Projects / zend-db-model-generator

zend-db-model-generator

zend-db-model-generator is a PHP script that reads the structure of a requested table and generates proper table, model, and mapper classes with all the relevant setters and getters using the Zend FrameWork. This script adds several functions to make it easier to work with a database like Zend_Paginator, Zend framework referenceMap, and other useful functions.

Tags
Licenses
Operating Systems
Implementation
Translations

Recent releases

  •  28 Feb 2012 14:26

    Release Notes: This release adds more column types to the DB-to-PHP conversion, no longer adds the abstract model's require if the require flag is set to false, supports multiple where/and statements and PDO escape statements on fetchList/fetchListToArray, adds save.return_id flag to the configuration (if set, every insert save method will return its primary key value (last inserted id)), lets fetchList and fetchListArray be used from the model, and adds support for PDO escapes and multiple where/and to countByQuery.

    •  11 Sep 2011 11:02

      Release Notes: This release fixes issue 11. It adds try catch to the pdo string generator to show a proper error instead of seeing an exception being thrown. It fixes issue 8, adding Unix socket support for MySQL server. Issue 7 was checked, and it seems that the 0.6 beta patch fixed the issue (support for composite primary key).

      Screenshot

      Project Spotlight

      OpenStack4j

      A Fluent OpenStack client API for Java.

      Screenshot

      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.