from MVC to HMVC |
[eluser]NikosV[/eluser]
hello forum. The last years i’ve been prgramming applications with codeigniter and following the standard MVC architecture. I am planning moving to HMVC. While i think i undestand the main principles in HMVC i am having trouble understanding if there are any best practices to use this architecture. For example, Should i call the module controllers inside usual codeigniter view files using <?php echo Modules::run();?> ? And if so what about any module-specific assets? should i run a module’s controller that echos these assets in the <head> of my view files? Or maybe should i access my headers directy using the uri? But in that case, will i have to create a new template for each module? Maybe i am missing some things here. Excuse my ignorance. Thanks in advance for your answers. P.S. If you are aware of any good tutorials i’ll be glad to hear about them.
[eluser]apodner[/eluser]
You might consider having a look at no-cms. (www.getnocms.com) It uses HMVC and is built on CI.
|
Welcome Guest, Not a member yet? Register Sign In |