I have a bunch of different controllers that all deal with the same basic model. For example...
- FoobarController
- FoobarShareController
- FoobarTakeController
- FoobarToolsController
- FoobarVerifyController
They all do various things to the foobar model and I kind of wanted a better way to organize them along with other things that deal with the rest of the site like all the stuff that doesn't specifically deal with Foobar but just general site usage like the UserController, DashboardController, MainController.
My idea was to put everything into namespaces so I would have the Foobar module and the Site module. The issue with that is in the case of say the Foobar:FoobarController my paths would be foobar_foobar_path and similarly the urls would look kind of odd.
This seems less then ideal so I was wondering what the best way to do this kind of organization was instead of having everything just in one directory and thus one namespace.