您是否知道PAC设计模式的任何示例

您是否知道PAC设计模式的任何示例

本文介绍了您是否知道PAC设计模式的任何示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以指向使用设计模式而不是MVC?桌面应用程序很容易找到(例如:GIMP),但是我正在网上寻找东西。

解决方案

更多的网站使用PAC比我想,人们意识到。例如,使用PAC模式,并且有很多网站(和很多大网站)使用drupal建立。许多人将和。 。 / p>

在我关于这个主题的研究中,我发现了一个以上的开源应用程序/框架,当它们更准确地适应PAC模式时,自称为MVC架构。具体来说,模型/抽象,演示/视图和控制器相互交互。


Can anyone point to any websites or web applications that are using the Presentation-Abstraction-Control design pattern rather than MVC? Desktop applications are easy to find like this (e.g.; GIMP) but I'm looking for something on the web.

解决方案

There are more sites using PAC than, I think, people realize. For example, drupal uses the PAC pattern and there are a lot of sites (and a lot of big sites) built with drupal. Many people confuse MVC and PAC. Larry Garfield does a good job explaining the difference and how drupal uses PAC.

In my research on this topic I found more than one open source app/framework that called themselves a MVC architecture when they more accurately fit the PAC pattern. Specifically in the way the model/abstraction, presentation/view, and controller interacted with each other.

这篇关于您是否知道PAC设计模式的任何示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 16:49