2009年7月16日星期四

Re: [fw-mvc] Re: Some troubles about Zend_Tool

There are a couple of issues in the issue tracker with regards to casing
that I plan to tend to next week in preparation of 1.9. The goal is to
get some of the higher priority issues fixed before our 1.9 beta release.

If you have a sec, visit the issue tracker and vote on issues you think
need to be addressed asap.

-ralph

Lucas CORBEAUX wrote:
> Sorry for the first point, I finally manage to create an action for a
> module controller, the module name must be in lower case.
>
> 2009/7/16 Lucas CORBEAUX <lucas.corbeaux@gmail.com
> <mailto:lucas.corbeaux@gmail.com>>
>
> 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
>
>

没有评论: