Search code examples
asp.netdesign-patternsweb-applicationsweb-architecture

Difference between 3Tier Architecture and (MVC or MVP)


I just want to know the difference between 3Tier Architecture and (MVC or MVP).

I am asking this question because i am C++ developer and new web development. I read various internet resources and i found both the same, the base line is that we have following 3 layers:

  • 3 Tier Architecture: Presentation Layer, Business Logic Layer and Data Access Layer
  • MVC: View, Controller and Model
  • MVP: View, Presenter and Model

I found a good resource about difference between MVP and MVC, but still confuse with 3 Tier Architecture.

Note: By 3 Tier i am referring to 3 logical layer not physical layers.


Solution

  • Take a look at this question MVC Vs n-tier architecture. It doesn't address MVP specifically, but given that MVP and MVC appear to be two different takes on the same problem, it should help you out.