HTML and CSS Reference
Using the setter you created in the View class, adding variables is as simple as declaring new properties in
the View object.
■ remember, these properties are converted to standalone variables by the View class' render() method, so
whatever name you choose for the property is the variable name that will be available to the view (i.e., $view->nonce is
available to the view as $nonce ).
Giving the App its First Spin
With the completion of the home view, your app is finally in a state where you can actually load it in a browser.
Navigate to the app in your browser—this topic assumes that the app is installed at http://rwa.local/ —and you'll
see the home page designed in Chapter 7 (see Figure 8-1 ).
Figure 8-1. The home view, generated by the app