What's the difference between Architectural Patterns and Architectural Styles?

前端 未结 12 1726
被撕碎了的回忆
被撕碎了的回忆 2021-01-30 04:16

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 Engl

12条回答
  •  轮回少年
    2021-01-30 04:42

    Frankly, I have always considered both these terms to be synonymous! And layman (relatively speaking) literature definitely treats them as such. Refer MSDN or Wikipedia

    However, your question intrigued me a bit so I did a bit more digging and frankly...I couldn't find much except for a reference to A Practical Guide to Enterprise Architecture (The Coad Series), from which i quote:

    An architectural style (Base et al. 1997) and an architectural pattern (Buschmann et al. 1996) are essentially synonymous.

    Based on some more googling, this is what I think might be one possible way to differentiate the two:

    • An architectural style is a conceptual way of how the system will be created / will work.
    • An architectural pattern describes a solution for implementing a style at the level of subsystems or modules and their relationships.

    How an architectural pattern will differ from a Design pattern i.e. Adapter, observer is basically by the level of Granularity at which they are applied (I know this isn't part of the question but it's related, I think...)

提交回复
热议问题