Koyaki
Koyaki

Reputation: 29

Is MVP a design pattern or an architectural pattern ? What about MvC and MvvM?

After doing some research on android patterns I kept finding different answers. Some people will start talking about design pattern, architectural or even architectural presentation patterns.

I'm reaching the conclusion that they are all architectural presentation pattern but MvC is an architectural pattern while MvP & MvvM are design pattern on the same rank as something like the design pattern observer. Is it correct?

Upvotes: 2

Views: 774

Answers (1)

Tomasz Jaskuλa
Tomasz Jaskuλa

Reputation: 16013

Design pattern is a general reusable solution to a commonly occurring problem within a given context. They reside in the domain of modules and interconnections. They are very connected to your code.

On the other hand Architectural patterns are similar to software design patterns but have a broader scope. They are usually describing an overall pattern followed by an entire system.

For me Mvc, Mvp and Mvvm are all architectural patterns

Other architectural patterns you may hear off are (the list is not exhaustive) :

  • Event Driven architecture
  • CQRS
  • REST
  • Microservices
  • SOA
  • Pipe & Filter architecture

you can find some examples on wiki : http://en.wikipedia.org/wiki/List_of_software_architecture_styles_and_patterns

Upvotes: 5

Related Questions