Is MVC a Design Pattern or Architectural pattern

前端 未结 10 2186
轮回少年
轮回少年 2020-12-12 13:38

According to Sun and Msdn it is a design pattern.

According to Wikipedia it is an architectural pattern

In comparison to design patterns, arch

10条回答
  •  庸人自扰
    2020-12-12 13:49

    MVC is more of an architectural pattern, but not for complete application. MVC mostly relates to the UI / interaction layer of an application. You're still going to need business logic layer, maybe some service layer and data access layer. That is, if you're into n-tier approach.

提交回复
热议问题