分层模型视图控制器 (HMVC) 的示例? [英] Examples of Hierarchical-Model-View-Controller (HMVC)?
问题描述
我对 Presentation-Abstraction-Control 感兴趣?(又名分层模型视图控制器 (HMVC))用于构建复杂用户界面(GUI 或 Web)的架构模式,想知道是否有人知道我可以阅读代码的任何示例?
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?
我知道 Presentation-Abstraction 中引用的 JavaWorld 文章和相关信件-控制维基百科文章.
推荐答案
在 php 世界中,我知道一些可能符合 HMVC 要求的方法.它们都允许调用控制器并从视图中显示结果.调用可以无限嵌套,在小部件内创建小部件.
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 框架:动作视图助手
- CodeIgniter:第 3 方 模块化扩展 - HMVC
- Kohana:第 3 方 Component Kohana 3 现在原生支持 HMVC
- Zend Framework: Action View Helper
- CodeIgniter: 3rd party Modular Extensions - HMVC
- Kohana: 3rd party Component Kohana 3 now natively supports HMVC
这篇关于分层模型视图控制器 (HMVC) 的示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!