MVC Framework Introduction

The Model-View-Controller/MVC framework is an architectural pattern that separates an application into three main logical components Model, View, and Controller. Hence the abbreviation MVC. Each architecture component is built to handle specific development aspects of an application. MVC separates the business logic and presentation layer from each other. It was traditionally used for desktop graphical user interfaces (GUIs). Nowadays, MVC architecture in web technology has become popular for designing web applications as well as mobile apps.

MVC Framework / Model View Controller

  • It stands for Model View Controller.
  • It is used to develop web application.
  • This framework developed by Microsoft on 2007.
  • MVC is an architectural pattern that can be separate tree main component such as Mode, View and Controller.

Please read SQL Server Tutorial

MVC Workflow

Please find below picture (Fig-1.1) for your reference.

MVC framework WorkFlow
Fig -1.1

Model

  • It is one main component in MVC framework.
  • In other word it is data represent layer in MVC framework that mean It can able to handle data between View and Controller.

Controller

  • It is another main component in MVC framework.
  • It can able to process the all business logic, manipulating the data and respond to incoming request.
  • It is worked bridge between Model and Controller.

View

  • It is last main component in MVC framework.
  • It is the user interface layer in MVC framework.
  • This component contains UI logic of application such as from details, form component details etc.

Advantages of MVC

  • Extensibility
    • Separation of component Model View Controller.
    • Parallel development process.
    • Modification does not affect the entire model.
  • Easy to provide maintenance
  • Testability
    • Support Test Driven Development (Write your own test case for unit testing).
  • Powerful Routing System
    • Easy to develop SEO-friendly URL.
  • Modern API
    • Support for asynchronous technique.
  • ASP.NET MVC Is Open Source

Disadvantages of MVC

  • Increased complexity to implement.
  • Cost is more for development time due to need multiple programmers.

Leave a Comment

Your email address will not be published. Required fields are marked *