Chapter 5 is very confusing/frustrating
I've read and re-read the first half of Chapter 5 several times now, and I have no idea what code we are supposed to enter, and what code is just included to describe the concepts. For example, the MVC scaffolding done in Chapter 4 already created an "Album Edit" view and corresponding controller actions, but then it says in the section "Setting Up the Album Edit Form": "If you need to build a view that lets the user edit album information, you might start with the following view code" and then shows some sample code. Is this to be typed in? Where? There already is an Edit view under the StoreManager folder - which the books points out itself a few paragraphs later and prints the code out along with a screenshot of the actual web page. Then when describing the helpers, it says "Take, for example, the Edit action of the StoreManager controller" - and then displays totally different code than what's in the generated code! So then I started to think this was all just example code for descriptive purposes, and we weren't supposed to enter anything yet - but then on the next page it says "Let's take a break from the edit form you are building and look at a simple example." Whaa? Am I missing pages here?
|