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

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

    In very simple words:

    • An architectural style

      Is a concept, theory (and how it's implemented it is up to you). It can also apply to outside of the software world.

      In example: REST (Representational State Transfer) is an architectural style built on certain principles using the current “Web” fundamentals.

    • An architectural patterns

      Describes a solution at the software system (or module) level. In other words how it interacts each other e.g. view with model, and model with controller.

    • A design patterns

      Is a solution at the core level, it talks about classes, functions and how actually the logic flows.

提交回复
热议问题