MVC Architectural Pattern and Setting up the development environment

 What is MVC?

MVC Stands for "Model View Controller". It is an architectural pattern. An architectural pattern the once the whole architecture of our application.MVC separates the business logic and presentation layer from each other. MVC divides a software application into three parts- model, view, and controller.

History Of MVC
  • Introduced by Trygve Reenskaug in1979.
  • First used in Smalltalk 80.
  • MVC was first time accepted as a general concept, in 1988.
  • MVC pattern is used in modern web applications.
MVC Architectural

View- The HTML markup that we display to the user.

Model- Application data and behavior in terms of its problems domain, and independent of the UI.

Controller- Selects the right controller to handle a request.

Router - Select the right controller to handle a request.

 Setting up the development environment

  • Open Visual Studio
  • Click on the Tools option

  • Select the option extension and updates
  • Click "Online"

  • Search for Visual studio productivity power tools.
  • Search for Web Essentials.

Post a Comment