MVC Architecture

less than 1 minute read

  • MVC separates an application into 3 main logical components Model, View, and Controller. (domain/application/business)
  • Separation of concerns (SoC) is a design principle for separating a computer program into distinct sections.
  • All frameworks support MVC, already let placeholder: where to put view, where to put model, and controller. Developer often follow it, means follow MVC architecture without realize it.

3-tier Architecture vs. MVC Architecture

Parameter 3-Tier Architecture MVC Architecture
Communication This type of architecture pattern never communicates directly with the data layer. All layers communicate directly using triangle topology.
Usage widely used in web applications where the client, data tiers, and middleware a run on physically separate platforms. Generally used on applications that run on a single graphical workstation.