ecmcn,
Yes, there are a few things, but ZF uses configuration over convention. This gives you a lot of flexibility. As you can see in my original post, I package my modules under the 'application/modules' directory. Others may choose to package their modules differently, thats great, thats how they prefer to deal with it.
In my opinion, there should be something akin to addControllerDirectory(). This would provide a consistent way to add module/model directories. Or perhaps addModuleDirectory() could take a configuration array or something else?
I've really come to like the flexibility to change my directory layout to suite my needs. I could never remember the layout of a Rails directory. ;-) (Though I do think Rails is slick), this way I don't have to remember the layout, just some basic rules.
|