Four ways of using views and templates