Welcome Guest, Not a member yet? Register   Sign In
HMVC architecture
#1

[eluser]Unknown[/eluser]
Hello.

i'm starting a new website with an admin section, and i have questions about best practice for architecture with HMVC.


I dont' see how to handle a complete architecture with modules so i was thinking of handling the main structure with controllers, and load modules in thoses controllers
( for ex mysite.com/admin/edit_comments will load controllers>edit_comments and this controller will load severals modules )


Below the structure i was thinking of:

index.php
- application
--controllers
---front page1.php
---front page2.php
----admin
-----admin page1.php
-----admin page 2.php
--modules
---module1
---module2


Does anyone have any suggestion about HMVC architecture?


Thank you
#2

[eluser]cmgmyr[/eluser]
Take a look at Phil's post here - option #3. Instead of Matchbox, use Modular Extensions here

I'm using this setup and it works out really well. If you have any questions, just let me know.

-Chris
#3

[eluser]Senthilguru[/eluser]
Your HMVC implementation should be like this

Refer the HMVC part: http://techportal.ibuildings.com/wp-cont...C-HMVC.png

hope you can implement that in CI using wiredesignz's Modular Extensions

Cheers,
Senthilguru.E




Theme © iAndrew 2016 - Forum software by © MyBB