Kohana, due to cascading file system and modules, allows to share code in common projects, that contains controllers, views and models directories. How can I do it in codeigniter? I want to create sites, that will share some code (admin area views, some models). That is easy in Kohana, we just have to add another directory for Kohana::find_file().
Asked
Active
Viewed 1,698 times
2 Answers
3
I think this is a duplication of:
Codeigniter Shared Resources - Opinions Wanted
And
How do I load a view from a specific (shared) path in CodeIgniter?
1
I'm more experienced in Kohana than CI but if I'm right there is a HMVC module in CodeIgniter. You could see if you are able to request a external page like you can with the HMVC of kohana.
If I may ask. why do you use codeigniter when you know kohana does the job better?

RJD22
- 10,230
- 3
- 28
- 35
-
2Because I am not the one who decides here:) CodeIgniter is more commonly known than Kohana, it is easier to find CI programmer. – LukLed Jul 06 '10 at 14:21
-
While I have to agree with the more known and more CI programmer. Isn't is smarter to go with the best solution. Kohana doesn't differ that much from CI so finding programmers should not really be a problem. But that is my own opinion – RJD22 Jul 07 '10 at 08:03