Building Simple Web Applications Using ASP.NET MVC
Background Information on Model-View-Controller (MVC) MVC, also known as Model View Controller, is a pattern in software design that is commonly used to develop user interfaces, data models, and controlling logic. It creates a clear separation between the software’s business logic and what is shown to its users. With this emphasis on separation, it gives developers a much easier time dividing development teams as well as making maintenance much easier since problems can commonly arise from one of each end: The Model: Problem with data structure. The View: If something is not displaying properly. The Controller: Data not being updated/modified properly. Model The model dictates what data is stored, usually consists of classes/objects each with their own properties. There two ways to setup a database using patterns, Data Access Object (DAO) and Object Relational Mapper (ORM). DAO is the more traditional approach of database access, tables are created manually by writing and using S...