Bummer! This is just a preview. You need to be signed in with a Pro account to view the entire video.
Model View Controller4:19 with Bjorn Chambless
Model View Controller, or MVC, is a commonly used, and commonly misunderstood, design pattern.
The Model is the core of the application; this is what provides the unique capabilities that justifies the development of the software. Often this functionality includes data management and persistence, but might include network communication, or complex calculations. The model should be a nearly autonomous subsystem.
The View presents data from the model and provides an interface for user interaction. Ideally, views should include very little logic or “smarts” beyond what is directly necessary to receive input or display data on a screen.
The Controller facilitates interaction between the Model and the View and manages functionality that does not clearly fall within the purview of either. The controller encapsulates the functionality that allows the model and view subsystems to specialize and remain decoupled. Often the controller is described as “glue” or “insulation” between the model and view.
You need to sign up for Treehouse in order to download course files.Sign up