Let’s kick things off by looking at how the model, view, and controller manifest themselves in actual code, via a
very simple code example. I will use a partial code listing to represent each concern, and then I will pull it all together
into a complete code listing. This way, we can isolate the important parts first and then look at them working together
as a whole. The code shown in Listing 3-1 is what we will use to represent our model.