Welcome Guest, Not a member yet? Register   Sign In
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
#2

The new CI 4 can do all of that now but it's still not for production yet.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB