This course will be retired on June 1, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
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.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up