什么是建筑格局与建筑风格之间的区别? [英] What's the difference between Architectural Patterns and Architectural Styles?

查看:1327
本文介绍了什么是建筑格局与建筑风格之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

软件架构 -​​ 基础,理论与实践,我可以找到两个定义。问题是,我不明白什么他们每个人在纯英文的意思是:

的建筑格局。


  

一种架构模式被命名
  建筑设计的集合
  这适用于一个决定
  反复出现的设计问题参数
  考虑到不同的软件
  发展背景中,这
  出现问题。


的建筑风格。


  

这是建筑风格命名
  建筑设计的集合
  决定:(1)适用于一
  鉴于发展的背景下,(2)
  限制建筑设计
  特定于一个决定
  该范围内特定的系统,
  (3)引发的有益素质
  每次得到的系统。


所以,任何人都可以用简单的英语澄清什么呢每一个平均值和它们之间有什么区别呢?


解决方案

所以在这里,它是:

一种架构模式,是解决一个反复出现的问题,建筑的一种方式。 MVC中,例如,解决了从模型中分离UI的问题。 SENSER - 控制器 - 执行器,是一个模式,这将有助于您在多个输入感官的脸动的问题。

这是建筑风格,在另一方面,就是给一个反复Archictural设计一个名称。相反,一种模式,它不存在解决问题。

管道和放大器;过滤器不能解决任何特定的问题,它只是一个组织你的code的方式。客户机/服务器,主程序和放大器;子程序和抽象数据类型/ OO,是一样的。

此外,单一架构可以包含多个建筑风格,每个建筑风格可以使用的几种架构模式。

In Software Architecture - Foundations, Theory and Practice, I can find definitions for both. The problem is that I don't get what each one of them means in plain english:

Architectural Pattern.

An Architectural Pattern is a named collection of architectural design decisions that are applicable to a recurring design problem parameterized to account for different software development contexts in which that problem appears.

Architectural Style.

An Architectural Style is a named collection of architectural design decisions that (1) are applicable in a given development context, (2) constrain architectural design decisions that are specific to a particular system within that context, and (3) elicit beneficial qualities in each resulting system.

So, could anyone clarify in simple english what does each one mean and what are the differences between them?

解决方案

So here it is:

An Architectural Pattern is a way of solving a recurring architectural problem. MVC, for instance, solves the problem of separating the UI from the model. Senser-Controller-Actuator, is a pattern that will help you with the problem of actuating in face of several input senses.

An Architectural Style, on the other hand, is just a name given to a recurrent Archictural Design. Contrary to a Pattern, it doesn't exist to "solve" a problem.

Pipe&filter doesn't solve any specific problem, it's just a way of organizing your code. Client/server, Main program & subroutine and Abstract Data Types / OO, the same.

Also, a single architecture can contain several architectural styles, and each architectural style can make use of several architectural patterns.

这篇关于什么是建筑格局与建筑风格之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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