分层模型视图控制器 (HMVC) 的示例? [英] Examples of Hierarchical-Model-View-Controller (HMVC)?

查看:18
本文介绍了分层模型视图控制器 (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 Framework: Action View Helper
  • CodeIgniter: 3rd party Modular Extensions - HMVC
  • Kohana: 3rd party Component Kohana 3 now natively supports HMVC

这篇关于分层模型视图控制器 (HMVC) 的示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆