The Model-View-Controller design pattern has become the dominant pattern for web frameworks, particularly the implementation pioneered by Ruby on Rails when it was first released publicly in 2004. The MVC pattern identifies three main components which each have specific responsibilities in handling the web page request.
Sodapop's MVC implementation is best illustrated through how it interprets a request URL. 1
Within your code, you could then handle this through a controller2 like this:
You could display this using a view file3 like this:
These are the basic components of the Sodapop MVC framework.