Basic code structure for views