Image for post
Image for post

The Model-View-Controller (MVC) framework is an architectural pattern in software development that allows programmers to create a separation of concerns when building applications.

It’s easy to write disorganized code when building complex applications, but MVC encourages us to be intentional. The model, view, and controller act as buckets where we can store different concerns, or sections of code.

Concerns should serve a specific purpose, like evaluating a user’s logged in status or returning the number of existing blog posts in the database.

The client-server relationship

Before we break down the MVC framework, let’s take a quick look at how the client-server model works, and what happens when you interact with a website. …


isabel k. lee

sweet, technological baby with a magic bag // // they/them 🏳️‍🌈

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store