🎁 New User? Get 20% off your first purchase with code NEWUSER20 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

Structured Data (Schema.org)
A standardized vocabulary for marking up web content so search engines can understand and display it as rich results.
DOM (Document Object Model)
A programming interface for HTML documents that represents the page structure as a tree of objects that can be manipulated with JavaScript.
PHP
A widely-used server-side scripting language designed for web development that powers over 75% of websites including WordPress.
Canonical URL
An HTML element that tells search engines which URL is the preferred version of a page when duplicate or similar content exists at multiple URLs.
Meta Tags
HTML elements in the page head that provide metadata about the document for browsers, search engines, and social media platforms.
Brotli Compression
A modern compression algorithm developed by Google that achieves better compression ratios than Gzip for web content delivery.
View All Web Development Terms →