CodeIgniter Forums
Does CI4 support HMVC? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Does CI4 support HMVC? (/showthread.php?tid=75354)



Does CI4 support HMVC? - mmx - 01-29-2020

I'm currently using Yii2 and have been for the past 8-9 years or so, but I am looking for a new framework before Yii3 arrives on the scene. I have a couple of Yes/No questions. 

First, does the HMVC extension work in CI4, and if not, is anyone working on a replacement?

Second, does CI4 support the concepts of events and listeners?


RE: Does CI4 support HMVC? - jreklund - 01-29-2020

Hi, I spitted your post into a separate thread. As it where off topic.


RE: Does CI4 support HMVC? - Avega Soft - 01-29-2020

CI4 use Modules, look at manual https://codeigniter4.github.io/userguide/general/modules.html?highlight=modules


RE: Does CI4 support HMVC? - MGatner - 01-29-2020

CI4 is fully namespaced and autoloaded, so you can structure your folders however you like (including HMVC). Check the Iser Guide shared above.

Yes, version 4 has Events. Make sure you read about them as they have their own protocol.