问题描述
在软件架构 - 基础,理论与实践
,我可以找到两个定义。问题是,我不明白什么他们每个人在纯英文的意思是:
的建筑格局。
Architectural Style.
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.
这篇关于什么是建筑格局与建筑风格之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!