thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Intermediate

Model-View-Controller (MVC)

A software design pattern that separates an application into the data model, the user interface view, and the controller that handles input.

Definition

MVC improves maintainability and testability by separating concerns. Related patterns tested in automation exams include Observer (publish-subscribe notifications) and Singleton.

Example

A web app's controller handles a form post, updates the model, and renders a view template.

Exam tip

Model = data/logic, View = presentation, Controller = input handling.

Related terms