Welcome Guest, Not a member yet? Register   Sign In
Modular Extensions - Nested Modules?
#2

[eluser]dcunited08[/eluser]
I believe the latest release of ME allows for nested folders within modules folder for views and models but not controllers i.e.

modules/
-Media/
--Books/
---views/
---models/
--Videos/
---views/
---models/
--views/
--models/
--controllers/

I, myself am rather confused as to why that is. I seem to remember in the prior version that I was able to load the controllers from submodules as well. The problem with moving module folders up a level is that you are putting them on the same plane as application folders (config/ helpers/ libraries/) and can add confusion that they are indeed modules. Actually doing that should not be too hard, configure MODDIR to be the same as APPPATH. You may delete those folders and CI should not throw a major fit about it with ME but the more you mess with removing directories such as those staples and moving modules out of their folder, the more you loose the MVC design characteristics that are helpful within CI, this is completely opinion though.


Messages In This Thread
Modular Extensions - Nested Modules? - by El Forum - 11-03-2008, 12:26 PM
Modular Extensions - Nested Modules? - by El Forum - 11-03-2008, 12:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB