Introduction - MVC Architecture Web Development
Model-view-controller (MVC) is an architectural software design or a pattern developing for web based applications. It is used to separate an application into three logical components: Model, View and Controller. Each component use handles to perform specific development actions to manipulate data, retrieve data, and update data.
The Model component represents either the data is transferred between View and Controller components or any business logic related data. For instance, for retrieving customer information from the database, editing and updating data back to the database and is used to render data.
The View component is used for UI logic of the application. For instance, it includes all the UI components such as drop-down, menu items, text boxes, etc.
: It is an interface between the Model and the View, intercepts using the software code to process all business logic and incoming requests, manipulate data based on the inputs to render final output. For instance, the Customer controller component would handle all the interactions and inputs from the Customer View and update database.
Features of the MVC Architecture in Web applications:
- ASP.NET supports three major development models: Web Pages, Web Forms and MVC (Model View Controller) for fast, easy and efficient manner.
- It uses Page Controller that adds functionality to individual pages.
- It is used in all web platforms that uses HTML
- It is used in Web Applications using PHP frameworks such as Cake PHP and CodeIgnitor
- It is used to develop complex but light weight applications
- Use in Web platforms that uses HTML.