CodeIgniter Forums
HMVC into CI itself without third party codes - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: HMVC into CI itself without third party codes (/showthread.php?tid=41)



HMVC into CI itself without third party codes - robinleathal - 10-28-2014

I have been using Codeigniter with HMVC from wiredesign. Ever since i started using HMVC it helped me develop application much faster and easier. It makes application very extensible. It also help me make a template engine purely without anything else. So I think Codeigniter should adopt HMVC into itself.


RE: HMVC into CI itself without third party codes - tapan.thapa - 10-28-2014

I have coded a lot with CI in last 3 years and are having a big product (Closed) with CI. I have not used wiredesign however checked its documentation and it seems promising towards code separation. I think CI 3.1 should be with HMVC support enabled.


RE: HMVC into CI itself without third party codes - kilishan - 10-28-2014

I voted 'No' but purely because the true HMVC capabilities of calling a controller from another controller is not a practice that I encourage. If you just mean keeping separate modules that can be routed to, then, yeah, I agree with that.


RE: HMVC into CI itself without third party codes - Hobbes - 10-28-2014

i didn't vote. However:

I use Modular CI for my module needs created by WanWizard. It is none intrusive, and easy to setup and get going with.


RE: HMVC into CI itself without third party codes - includebeer - 10-28-2014

What is the difference between HMVC and the application "Packages" from the Loader class?

I never used HMVC or the Packages, but it looks to me it's about the same...?


RE: HMVC into CI itself without third party codes - robinleathal - 10-28-2014

(10-28-2014, 11:51 AM)Hobbes Wrote: i didn't vote. However:

I use Modular CI for my module needs created by WanWizard. It is none intrusive, and easy to setup and get going with.

Modular CI is extended form of HMVC from wiredesignz


RE: HMVC into CI itself without third party codes - Hobbes - 10-29-2014

When WanWizard was developing Modular CI his goal was to create a modularity system that was allot more simplistic than wiredesignz HMVC. While he may have gotten inspiration from it, Modular CI is radically different in it's approach. wiredesignz HMVC assumes everything is a module. Modular CI does not, although it allows you to have everything as a module.


RE: HMVC into CI itself without third party codes - dmyers - 10-30-2014

If we are talking about cascading packages/modules which can contain complete config/controllers/libraries/views/models/etc... then YES.
If we are talking about controllers calling controllers then NO.


RE: HMVC into CI itself without third party codes - InsiteFX - 10-30-2014

Modules are meant to encapsulate your code like a blog or forums into a module, you can then take that module and drop it into any of your applications and your up and running. ( DRY )


RE: HMVC into CI itself without third party codes - spjonez - 10-31-2014

If CI doesn't implement HMVC it's a bad sign for it's development path. Every single company I've worked for in the last 5y has used HVMC in their frameworks, you're really doing a disservice to yourself at this point by not using it.