phpzend-frameworkzend-framework2code-generation

Is there any code generator for Zend Framework?


I tried a couple of web development frameworks, such as Zend Framework 1/2, Yii, Ruby on Rails, Django for Python, Spring+myBatis and so on. Most of them are shipped with a code generator which decrease the burden of writing CRUD, table data editing and SQL migrations (and so on). For example, Gii in Yii, Migration tools on ROR, myBatis generator for myBatis, Django app manager and so on. But I didn't find the same tool in ZF.

Is there anything useful for code generation in ZF2 with example features below:

  1. Visual model generation (as in Gii);
  2. Command Line SQL Generation and DB operation (as in Django);
  3. Deployment script generation.

Solution

  • For ZF1, you can use Zodeken, it provide coplete crud interfaces. For zf2 is in developing.

    https://code.google.com/p/zodeken/

    https://code.google.com/p/zodeken2/