**MVC(Model-View-Controller)**は、アプリケーションを3つの部分に分ける設計パターンです。Model(データ/ロジック)、View(UI/プレゼンテーション)、Controller(入力処理、調整)に分けることで、関心の分離を促進します。これは基本的なパターンであり、MVP、MVVMなど多くのバリエーションがあります。
3つのコンポーネント
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)
