Wrox Programmer Forums
|
BOOK: Professional ASP.NET MVC 5
This is the forum to discuss the Wrox book Professional ASP.NET MVC 5 by Jon Galloway, Brad Wilson, K. Scott Allen, David Matson; ISBN: 978-1-118-79475-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 22nd, 2015, 09:17 PM
Registered User
 
Join Date: Dec 2014
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Angry 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?
 
Old September 22nd, 2015, 09:29 PM
Registered User
 
Join Date: Dec 2014
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It looks like some of the code is referencing "Search" rather than "Edit", but there is still some Edit code in here - so still confused.
 
Old April 13th, 2016, 11:04 AM
Registered User
 
Join Date: Jun 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default I agree

Totally agree. Ch4 was great because it said do this step then this step etc.

I've just read Ch5 and didn't write any code at all, very unhelpful apart from the theory.
 
Old April 22nd, 2016, 02:14 PM
Authorized User
 
Join Date: Jan 2013
Posts: 23
Thanks: 1
Thanked 1 Time in 1 Post
Default Maybe this will help but probably not but its better than silence

Hi!

As I am somewhat familiar with MVC 4, I skimmed that chapter. Not much help here! I didn't find it confusing, which is even worse. Sorry.

Did you look at the code available for download? That might alleviate your confusion.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Confusing to follow code in Chapter 3 (Views) gjok BOOK: Professional ASP.NET MVC 3 1 February 21st, 2013 08:51 AM
Ch 16...frustrating! jmuehlenbein BOOK: Beginning SharePoint 2010: Building Business Solutions with SharePoint 0 February 8th, 2012 02:48 PM
Confusing XPath chapter!!! skystar3 BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2 2 December 8th, 2010 08:29 PM
frustrating trouble with events and placeholder roog ASP.NET 1.0 and 1.1 Professional 0 October 13th, 2005 08:31 AM
frustrating if then quandry through recordset monstermash Classic ASP Basics 5 July 18th, 2003 06:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.