Is there a Zend Tool command for scaffolding?
Does Zend Tool have a zf
command that does the same as this Ruby on Rails command开发者_开发百科:
ruby script/generate scaffold ModelName [field:type field:type ...]
In other words, can Zend Tool create resources that already contain the code for CRUD actions?
There is no official ZF Command to scaffold.
There are two proposals for this
- http://framework.zend.com/wiki/display/ZFPROP/Zend_Controller_Front_Scaffold
- http://framework.zend.com/wiki/display/ZFPROP/Zend_Controller_Scaffolding+-+Alex+Oroshchuk
The first one is from 2007 and does not seem to be maintainend any longer. The second one looks like it's more active.
精彩评论