When we’re learning about MVC web application development, it often seems as if the Model and the Controller layers get all the attention. Views are often treated in a hand-wavey fashion: “drop a template into the right directory, and it will magically be converted to HTML”.
It’s important to understand every layer of the stack we’re working with. And the best way to de-mystify something that seems magical is to re-create it ourslves. So, let’s create our own view object!