MVC (Model-View-Controller) என்பது ஒரு architectural pattern ஆகும், இது ஒரு application ஐ மூன்று பகுதிகளாக பிரிக்கிறது — Model (data/logic), View (UI/presentation), மற்றும் Controller (input ஐ handle செய்து, coordinate செய்கிறது) — concerns ஐ பிரிப்பதை ஊக்குவிக்கிறது. இது foundational ஆகும், பல variations உள்ளன (MVP, MVVM).
மூன்று components
MODEL → data and business LOGIC (the core: data, rules, state) — independent of the UI
VIEW → the UI/PRESENTATION (displays data to the user) — what the user sees
CONTROLLER → handles user INPUT, coordinates between Model and View (processes requests,
updates the model, selects the view)
→ SEPARATION: data/logic (Model) ≠ presentation (View) ≠ input handling (Controller)
