• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HMVC help

#1
I would like to implement wiredesignz' HMVC in a current project of CI 3.1.9. I was [mistakenly?] under the impression that wiredesignz version allowed for a person to keep their existing project as-is, but this would add on to it to allow the encapsulation of additional modules (plugins in my case).

Do I need to organize all of my existing scripts to mirror the examples? If so...how does sharing models work then? I'm mentally missing a big piece of the puzzle here!

My desired outcome is:
application
-controllers
--Welcome.php
--Members.php
-models
--Member.php
-plugins
--plugin_name
---controllers
----a_controller_name.php
---models
----a_model_name.php
---views
----a_view_name.php
-views
--welcome
---index.html
--members
---index.html


I would like welcome and members to be able to share all of the models. I would like plugins to be able to have their own models, controllers, and views.

Am I overthinking this?
Reply


Messages In This Thread
HMVC help - by tika22 - 09-03-2019, 02:40 PM
RE: HMVC help - by InsiteFX - 09-04-2019, 03:26 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.