Posts Tagged ‘locale’

Views, Layouts, and Locales

Posted in Solar on April 8th, 2009 by Jon – 1 Comment

Views and layouts are responsible for displaying content in the browser. Views are generally specific to a controller action. For example, an action method such as actionIndex() would display its output in a view called index.php. Layouts, on the other hand, are typically shared by the entire application and wrap around the view. A layout usually contains the header, footer, navigation, and the content area where the view’s output is displayed.
read more »