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

前端 未结 12 1823
被撕碎了的回忆
被撕碎了的回忆 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:34

    In my view, patterns and architectural styles are complementary mechanisms for encapsulating design expertise. An architectural style provides a collection of building block design elements, rules and constraints for composing the building blocks, and tools for analyzing and manipulating designs created in the style. Styles generally provide guidance and analysis for building a broad class of architectures in a specific domain whereas patterns focus on solving smaller, more specific problems within a given style (or perhaps multiple styles).

提交回复
热议问题