Wrox Programmer Forums
|
BOOK: Professional ASP.NET Design Patterns
This is the forum to discuss the Wrox book Professional ASP.NET Design Patterns by Scott Millett; ISBN: 978-0-470-29278-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET Design Patterns 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 February 25th, 2011, 12:47 AM
Registered User
 
Join Date: Feb 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Controller and Views

Scott,

I would like to use you Agatha.Storefront site as a model for a new project that I am working on and have a couple of questions.

Why are you placing the controllers in a project rather than in the MVC project?

What do you think about the use of data annotations for validation? You did not use them in your project.

Is there anything you would do differently now give the release of MVC 3 and/or experience you gained since releasing the project? I do have the latest version of your code from codeplex and did see your notes about changes you have made in the past couple of months.

I love the book and the sample code!

-Dave
 
Old March 2nd, 2011, 02:40 PM
elbandit's Avatar
Wrox Author
 
Join Date: May 2007
Posts: 107
Thanks: 10
Thanked 17 Times in 15 Posts
Default

Hi Dave,

Thanks for buying the book!

Quote:
Why are you placing the controllers in a project rather than in the MVC project?
This was because I had planned on creating a seperate mobile version of the site that still used the same controllers but had different views. Basically so I coould have one ASP.NET MVC project for my main site and one for a mobile version.

Quote:
What do you think about the use of data annotations for validation? You did not use them in your project.
I wrote the sample application agasin't the MVC 1.0 version when there wasn't data annotations available and I didn't have time to update the sample. However I do intend to update the sample (http://aspnetdesignpatterns.codeplex.com/) as soon as I get time.

Quote:
Is there anything you would do differently now give the release of MVC 3 and/or experience you gained since releasing the project?
I am in the process of writing another book using MVC 3 and the Command and Query Responsibility Segregation pattern - http://apress.com/book/view/1430235330. That will show you how I am design my ASP.NET MVC apps - you can see the code here http://agilenet.codeplex.com/.

Cheers
Scott
 
Old March 2nd, 2011, 03:16 PM
Registered User
 
Join Date: Feb 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Scott,

Thanks for the reply. What is your target date for publishing the new book? I am interested in seeing it. Is there an early access version available?

-Dave





Similar Threads
Thread Thread Starter Forum Replies Last Post
Views Controller question BrooklynDon BOOK: Beginning iOS 4 Application Development 5 January 11th, 2011 06:55 PM
Shouldn't they be in a controller? phpcoder101 BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 2 November 6th, 2009 05:24 PM
controller to controller tigransh Spring 1 November 11th, 2006 12:48 AM
throwaway controller mmasters BOOK: Professional Java Development with the Spring Framework 0 June 27th, 2006 10:56 AM
converting Access 2000 views to Sql views matta Classic ASP Professional 1 January 26th, 2005 03:37 PM





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