Large Application, want to create SubDirs in MVC folders |
[eluser]PhilTem[/eluser]
Hi GChester, I can only confirm, what @boltsabre said so far, you can nest your views indefinitely deep (of course, only as long as the OS supports the length of the path) you only need to make the argument to $this->load->view() match the path By default, CI only supports one level of folders in the APPPATH . 'controllers' folder, however, you can extend CI_Router with MY_Router and make it find controllers in any sub-folder, no matter how deep it is. On the other hand, you might really want to go for HMVC (the best one IMHO is from @wiredesignz) which helps you separate the business logic of your large application even better since everything is separated by, let's say, categories i.e. by what it's dealing with As far as my knowledge on CI 3.0 goes, HMVC will be supported by CI by default, yet only in a light version (don't know an exact comparison with @wiredesignz' implementation |
Messages In This Thread |
Large Application, want to create SubDirs in MVC folders - by El Forum - 01-21-2013, 01:30 AM
Large Application, want to create SubDirs in MVC folders - by El Forum - 01-21-2013, 01:42 AM
Large Application, want to create SubDirs in MVC folders - by El Forum - 01-21-2013, 04:13 AM
|