MVC Design: A Front Controller based Approach
MVC, which stands for Model View Controller, is a design pattern that helps us achieve the decoupling of data access and business logic from the presentation code , and also gives us the opportunity to unit test the GUI effectively and neatly, without worrying about GUI changes at all. In this section, we will first study the basic MVC pattern and then move on to understanding the ASP.NET MVC framework.
Note
A framework is a set of tools that includes libraries or methods developed according to a certain architecture, so that applications do not need to re-invent the wheel. Instead of re-writing the basic implementation each time, they can use the framework and abstract themselves from the internal framework implementation details.
Front Controller Design
MVC is based on a front controller design, where we have a centralized controller instead of multiple controllers, as was the case in the page controller based design that we saw earlier. By default...