๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Web Development Intermediate

What is MVC (Model-View-Controller)?

An architectural pattern that separates an application into three components: data (Model), interface (View), and logic (Controller).

MVC promotes separation of concerns. The Model manages data and business logic. The View presents data to users. The Controller handles user input, updates the Model, and selects Views. This separation makes code more organized and testable.

MVC is used in many web frameworks: Laravel (PHP), Django (Python, uses MTV variant), Ruby on Rails, Spring MVC (Java), and ASP.NET MVC. Related patterns include MVVM and MVP.

Related Terms

Web Accessibility (a11y)
The practice of designing websites that can be used by people with disabilities, following WCAG guidelines.
GraphQL
A query language for APIs that lets clients request exactly the data they need, reducing over-fetching and under-fetching.
Brotli Compression
A modern compression algorithm developed by Google that achieves better compression ratios than Gzip for web content delivery.
CDN (Content Delivery Network)
A distributed network of servers that delivers web content to users from the geographically closest location.
HTTP Status Codes
Standardized three-digit codes returned by web servers to indicate the result of a client's HTTP request.
Content Negotiation
An HTTP mechanism where client and server agree on the best representation of a resource based on format, language, or encoding preferences.
View All Web Development Terms โ†’