本文介绍了分层模型 - 视图 - 控制器(HMVC)的示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对演示抽象控制感兴趣? (又名分层模型 - 视图 - 控制器(HMVC))用于构建复杂的用户界面(GUI或Web)的架构模式,并且想知道是否有人知道在野外的任何可以读取代码的示例?我知道JavaWorld文章和相关信件在
I'm interested in the Presentation-Abstraction-Control? (aka Hierarchical-Model-View-Controller (HMVC)) Architectural Pattern for constructing complex user interfaces (GUI or web) and was wondering if anyone was aware of any examples in the wild where I could read the code?
I'm aware of the JavaWorld article and associated letters cited in the Presentation-Abstraction-Control wikipedia article.
解决方案
In the php world, I'm aware of a few methods that might qualify as HMVC. They all allow calling a controller and displaying the results from within a view. The calls can be nested infinitly creating widgets within widgets.
- Zend Framework: Action View Helper
- CodeIgniter: 3rd party Modular Extensions - HMVC
- Kohana: 3rd party Component Edit: Kohana 3 now natively supports HMVC
这篇关于分层模型 - 视图 - 控制器(HMVC)的示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!