Does fuel make it possible to place controllers in subdirectories within subdirectories within ... etc.,
and the same with views in a matching subdirectory path,
and have the URI reflect these paths?
I'd like to be able to have for example: http://foo.com/one/long/URL/for/good/organization/of/a/HUGE/site.html
and have my controller located in:
controllers/one/long/URL/for/good/organization/of/a/HUGE.php
and have my view located in:
views/one/long/URL/for/good/organization/of/a/HUGE/site.php
Is that easy to do with fuel?
Thank you.
In most applications, there is no one-to-one mapping between the segments of the URI and your controller structure.
Normally, functionality is grouped, and if needed routing is used to route multiple URI's to a single controller.
Having said that, the answer is yes, but it would create very akward class names.
In your case "Controller_One_Long_Url_For_Good_Organization_Of_A_Huge".
Just replace the directory separator by an underscore when constructing the controller classname.