zoukankan      html  css  js  c++  java
  • Architecture pattern & Architecture style

    Architecture pattern: context + problem -> solution

    Architecture style: solution part of architecture pattern

    So architecture style is analogous to the solution part of the architecture pattern. It's often used in books dealing with architecture documentation where the focus is on the solution and not how the context and problem came about.

    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 isnt part of the question but its related, i think)

    Conclusion

    As I mentioned in the beginning of this post, it’s all about the scope:

    • An Architectural Style is the application design at the highest level of abstraction;
    • An Architectural Pattern is a way to implement an Architectural Style;
    • A Design Pattern is a way to solve a localised problem.

    https://stackoverflow.com/questions/3958316/whats-the-difference-between-architectural-patterns-and-architectural-styles

    https://en.wikipedia.org/wiki/Software_design_pattern

  • 相关阅读:
    C++:变量声明和定义的关系
    Docker 方式搭建 zookeeper + kafka 集群
    Centos7.6系统下docker的安装
    CentOS7服务器下安装配置SSL
    《深入浅出密码学》|ing
    车联网入侵检测技术(持续更新)
    Hive的安装及交互方式
    Centos7中安装MySQL5.7记录
    Zookeeper-分布式锁代码实现
    【Java】String字符串的最大长度
  • 原文地址:https://www.cnblogs.com/feng9exe/p/10255124.html
Copyright © 2011-2022 走看看