HMVC in Kohana 3.0
One of the most powerful features in Kohana 3.0 is the ability to call another request at any time during the request flow. This layered MVC approach allows you to assemble a complex client tier and really harness the powerful benefits of object orientation.
An optimally layered architecture:
Reduces dependencies between disparate parts of the program
Encourages reuse of code, components, and modules
Increases extensibility while easing maintainability
Some uses for HMVC design in a client-tier architecture
Modular interface elements or widgets
Application and Menu Controls
Server Interaction
Reusable Application Flows
HMVC Basics
An easy way to think of HMVC is to think of AJAX without an extra server call. For instance, if you have an action for AJAX that displays a list of users, you can reuse that action in other controllers, rather than duplicating the method.
The Request Factory
Showing posts with label HMVC. Show all posts
Showing posts with label HMVC. Show all posts
HMVC in Kohana 3.0
Posted by
anonymous
on Saturday, October 30, 2010
Labels:
HMVC,
kohana 3,
kohana framework
/
Comments: (0)