What is the HMVC pattern?

后端 未结 5 1769
南旧
南旧 2020-12-02 04:39

Reading Kohana\'s documentation, I found out that the main difference in 3.0 version is that it follows the HMVC pattern instead of MVC as version 2.x does. The page about t

5条回答
  •  抹茶落季
    2020-12-02 04:42

    HMVC is Hierarchical Model View Controller.In in normal MVC every GUI object has its MVC.But there is no any relation between the parent GUI object and Child GUI object unlike HMVC. In HMVC each GUI object has access to its child objects and each of child object can access to its parent object.

    So in every view there is a parent view.Through which it can access it parent view. For in every controller there is a parent controller through which It can pass the event to parent controller (If event is not in its scope.)

    For details description please click here

    New link is this address

提交回复
热议问题