Let’s look at a different way of rendering view files: using static pages. The difference between a static page and a standard page in the site is that the static page does not change based upon any input. In other words, a dynamic page might display information based upon a provided model instance, but a static page just displays some hard-coded HTML (in theory).
This is an excerpt from Chapter 7, “Working with Controllers,” of “The Yii Book”.
Continue Reading...