Welcome Guest, Not a member yet? Register   Sign In
Organizing Your Controllers into Sub-folders
#6

[eluser]ELRafael[/eluser]
So it's better to use HMVC. I use it here and i'm very happy.

I have a folder called modules
Code:
- application
  + config/
  + controllers/
  - modules/
    - hr/
      + config/
      - controllers/
        backoffice.php
        hr.php
      - models/
        hr.php
      + views/

So when i delete modules/hr, the only thing that still exists is the assets.
Code:
+ application/
- public_html/
  + css/
  + images/
  index.php  <-- The CI index.php
  + js/
+ system/


Messages In This Thread
Organizing Your Controllers into Sub-folders - by El Forum - 07-05-2011, 04:59 AM
Organizing Your Controllers into Sub-folders - by El Forum - 07-05-2011, 05:33 AM
Organizing Your Controllers into Sub-folders - by El Forum - 07-05-2011, 09:14 AM
Organizing Your Controllers into Sub-folders - by El Forum - 07-05-2011, 09:26 AM
Organizing Your Controllers into Sub-folders - by El Forum - 07-05-2011, 09:32 AM
Organizing Your Controllers into Sub-folders - by El Forum - 07-05-2011, 09:51 AM
Organizing Your Controllers into Sub-folders - by El Forum - 07-05-2011, 09:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB