๐ŸŽ 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

API Rate Limiting
A strategy for limiting the number of API requests a client can make within a specified time window to protect server resources.
gRPC
A high-performance RPC framework using Protocol Buffers and HTTP/2 for efficient service-to-service communication.
Static Site Generator (SSG)
A tool that generates a complete static HTML website from templates and content at build time, requiring no server-side processing.
HTTP/3
The latest HTTP version that uses QUIC instead of TCP, providing faster connections and better performance on unreliable networks.
TypeScript
A typed superset of JavaScript that adds static type checking, interfaces, and advanced IDE support to JavaScript development.
OAuth Scope
A mechanism in OAuth that limits an application's access to a user's account to specific resources or actions.
View All Web Development Terms โ†’