I apologize for the broadness of this question but I am trying to implement my code in the best possible way and I'm wondering how others have approached this situation. I am building an application using Laravel4
and it will consist of a front-end
and back-end
. I am using Sentry
for user management also.
Currently I store all of my controllers
in the controller
directory and likewise for the views
however I am wondering If It would be better to store the controllers
in subdirectories
and then provide access to these sub directories
using sentry
?
In otherwords I'd store all of the Admin
controllers like so
app->controllers->admin->nameofcontroller.php
and the User
controllers like so
app->controllers->user->nameofcontroller.php