Am I understanding HMVC correctly? |
[eluser]dudeami0[/eluser]
HMVC basically allows you to chunk up your application into smaller sections. So you can have one module named "admin" for all admin related stuff, another the users control panel. For each module you make a controller, and for each page in that module you add a method to handle that page. From what your saying, your trying to chunk it up a little far in my opinion. How you could set it: Code: class Admin extends Controller { With index being a shell, and viewusers and edituser loading into the index with ajax or just use then as pages. You might want to look around the web and read up a little more on HMVC and MVC to get a better idea on how to chunk up your modules and such. Edit: This article might be of some help. |
Messages In This Thread |
Am I understanding HMVC correctly? - by El Forum - 11-29-2010, 07:17 PM
Am I understanding HMVC correctly? - by El Forum - 11-29-2010, 08:03 PM
Am I understanding HMVC correctly? - by El Forum - 11-29-2010, 09:56 PM
|