I have the following set up that I want to try to perform:
App
Sitename
- Admin (sitename/admin)
- models
- controllers
- views
- other folders
- Site (sitename/site)
- models
- controllers
- views
- other folders
Now the models and controllers can be namespaced, but with the views folder the location is set within the config/views.php file. So how if at all can I get admin views to look in the admin folder and the site views look into the site folder?
If there's. Better way to perform what I'm doing be great to here.
Maybe not completely what are you trying to accomplish but you could try architecture described here
http://kirkbushell.me/laravel-4-an-alternative-application-workflow/
http://kirkbushell.me/laravel-4-an-alternative-application-workflow-part-2/
TL;DR:
Create one (workbench) package for "admin"
Create second package for "public" part of site
OR
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community