Controller Case Study

It shows how to use a controller with a template.