I’m working on a project that is getting fairly large and I want to nest
the controller, model and view files so they each have parent
directories. I do not want the nesting to affect any of the routing or
any of the functionality, it is purely a organizational thing.
I want my files organized like this:
I’ve read many conflicting things about doing this, and am confused.
Some people say that you can simply move the files and it will just work
because the different resources will still remain in the same namespace
even if they are in different folders. I’ve tried this, though, and
references to models are broken.
Is there a better way to do this? Is there something I’m not doing that
is breaking my references?