0 votes
in C Sharp by

 What does the MVC pattern define with 3 logical layers?

1 Answer

0 votes
by

The MVC model defines web applications with 3 logic layers:

  • The business layer (Model logic)
  • The display layer (View logic)
  • The input control (Controller logic)

The Model is the part of the application, which only handles the logic for the application data. Regularly, the model objects retrieve data (as well as store data) from a database. The View is the part of the application, which takes care of the display of the data.

Most often, the views are created from the model data, although there are other, more complicated methods of creating views.

The Controller, as the name implies, is the part of the application that handles user interaction.

Related questions

0 votes
asked Dec 26, 2021 in Kubernetes K8s by SakshiSharma
0 votes
asked May 15, 2020 in MVC Language by sharadyadav1986
...