1 / 4
2 / 4
3 / 4
4 / 4

Friday, 31 January 2020

MVC(Model-View-Controller) Introduction


  • It is a Software Architectural Patten,.
  • It stands for Model-View-Controller.
  • Introduced by Trygve Reenskaug in the 1970s into "Smalltalk-79".
  • It separates the logic into 3 components i.e. to Model, View, and Controller.

Model

  • Model is a set of classes that handles data manipulation, That means it represents the data and it's business logic but independent of UI(user interface)
  • It defines data Validation rules.

View

  • This indicates the representation of application/data to the user i.e. it is a User interface.

Controller

  • A controller handles the overall communication between Model and view.
  • It is also a set of classes that is responsible for taking input from the user to communicate with both view and model.

Click here to know When a client request came how ASP.NET MVC works?





Click on Wikipedia Link for a brief description.

No comments:

Post a Comment

If you have any doubts please let me know