2009年9月17日星期四

Re: [fw-mvc] so complex!



On Thu, Sep 17, 2009 at 1:06 PM, Graham Anderson <graham.anderson@gmail.com> wrote:
On Thursday 17 September 2009 18:16:28 David Mintz wrote:
>Actually he kind of has sort of a point here, in that this is the kind of
>thing that does make your eyes glaze over, unless you have a deep
>understanding of ZF. It's like, if it's so auto, why do I need to do it?

I'm not specifically addressing the following points to you personally
David...

This is where I disagree and where people tend to assume that ZF should tie
your shoelaces and wipe your bum. Other frameworks may or may not _fully_
configure this type of thing for you but at the expense of flexibility.

If developers expect that you can customise your modules; e.g.the location and
path to your modules, and the directory structure of your modules, the class
names of the module resources and so on... Then it's not unreasonable to
expect that this flexibility requires a little, and i stress *little*, bit of
effort.
<snip/>


I don't disagree, which is why I qualified my remark by saying he "sort of" had a point "kind of." (Actually, your explanation clarifies matters for me considerably:  this little snippet, copied and pasted into your bootstrap, gives you all that autoloading magic out of the box and that's if you so choose, otherwise do something else.) I was trying to say simply that to the uninitiated, it looks particularly arcane.

--
David Mintz
http://davidmintz.org/

The subtle source is clear and bright
The tributary streams flow through the darkness

没有评论: