Hi
Basically our project is in a lot of flux over the next few weeks so I
thought it would be a bit pointless trying to detail what we're doing since
it'll just end up changing a lot! We're just trying to develop a system
which has two modular bits so it's really interesting to see this stuff
discussed on the mailing list at present..
I noticed the 'module' support in ZF too, it seems this line will also
support it without an additional route:
$frontController->setParam('useModules', true);
see:
http://framework.zend.com/manual/en/zend.controller.html#zend.controller.ove
rview.routing-process
My initial worry with this is that a 'module' is great to separate code for
different applications, but what if one part of your application has too
much code to fit into one controller file?
In ZF most of the business logic ends up in the controller file, so an
AdminController.php, in my experience so far, becomes quickly unweildy if
there is only one controller file to manage admin tasks (i.e. reporting,
adding/editing items).
So I've used what I called 'sections' to split admin controllers up into a
sub-folder. This to me isn't the same as modules. I wonder what ideas other
people have on that? I hope I'm making myself clear
best wishes,
Si