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


Messages In This Thread
HMVC architecture - by El Forum - 01-31-2011, 10:38 AM
HMVC architecture - by El Forum - 01-31-2011, 04:54 PM
HMVC architecture - by El Forum - 02-24-2011, 05:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB