Hello, World!
All of this autogenerated code will start to make more sense once we walk through a simple example. To try out this new system, let's build that Hello,
World! program we promised at the start of this chapter. A Hello,
World! program in Yii will be a simple web page application that sends this very important message to our browser.
We have already discussed about Yii being a Model-View-Controller framework in Chapter 1, Meet Yii,. A typical Yii web application takes in an incoming request from a browser, parses information in that request to find a controller, and then calls an action within that controller. The controller can then invoke a particular view to render and return content to the user. If dealing with data, the controller may also interact with a model to handle all the Create, Read, Update, and Delete (CRUD) operations on that data. In our simple Hello, World! application, all we will require is the code for a controller and a view. We are not dealing with any data...