2009年7月16日星期四

[fw-mvc] Some troubles about Zend_Tool

Hi there,

As I'm working on a new Zend Framework's projet, I worked a lot with Zend_Tool CLI today. And some things seems really... weird. I don't know if it's knowned issues or if it's that I really misunderstand the CLI behavior.

First of all, I was totaly unable to create an action for a controller that is not in the default module. I tried something like zf create action myAction MyController -m MyModule, and I got a fatal error. Are modules fully implemented in Zend_Tool ?

When I create a MyController in MyModule, the class name  is MyControllerController instead of MyModule_MyControllerController.

Create an action create the associated view also, that's a great feature. But when I create an action like camelCasedAction, Zend_Tool create the camelCased.phtml file instead of camel-cased.phtml.

Am I doing anything wrong ? I'm using ZF 1.8.4.

Thanks for help,
Lucas

没有评论: