MVC Design Pattern2:49 with Alena Holligan
Written descriptions for common programming solutions are referred to as what? Developers have noticed patterns of repeated problems that show up in many application across every language. By describing solutions in general terms, developers are able to share common solutions to these problems. These solutions are called Design Patterns. One of the most common design patterns is the Model-View-Controller or MVC pattern. The "Model" represents the data in your application, the "View" is the visual component or interface, and the "Controller" is responsible for coordinating the specific actions needed, in order to return a response for a user request.
Model-View-Controller is an architectural design pattern commonly used for developing applications. The MVC design pattern decouples these major components allowing for efficient code reuse and parallel development. This pattern can be found in many popular programming language. Java, C#, Ruby, PHP have MVC frameworks that are used in web application development straight out of the box.
The model represents the data in your application
The view is the visual component that presents the interface for users to interact with that data, such as clickable links, form fields, and buttons.,
The controller is the coordinator. When users browse to a specific page in our website, the controller is responsible for coordinating what specific actions need to be performed, in order to return a response for that user request.
You need to sign up for Treehouse in order to download course files.Sign up