Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > BOOK: Professional Enterprise .NET
BOOK: Professional Enterprise .NET
This is the forum to discuss the Wrox book Professional Enterprise .NET by Jon Arking, Scott Millett; ISBN: 978-0-470-44761-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Enterprise .NET 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 May 24th, 2011, 10:18 AM
Registered User
Join Date: Aug 2009
Posts: 5
Thanks: 0
Thanked 2 Times in 2 Posts
Default Question regarding MVC patters. Chap 10

Hi Jon, Scott

Great book and has really got me thinking differently about application design. One area I'm struggling to really see the benefit over how im already working is the chapter and example on MVC.

I understand the concept of removing the business logic from the presentation layer and making it indipendent, reusable and testable, but the way i currently design websites already achieves this, but without any exposure to MVC methods.

I generally create a sepearte Class library which contains business classes and then invoke them from code behind file. Based on the example in Chap 10 I would have a Class named MortgageCalculator that had a Calculate method that accepted the 3 values and returned the calculation. From code behind id then instantiate that class and pass in the values of the text fields directly. This method requires significantly less complexity whilst allowing the MortgageCalculator class to be reused and tested independently of the UI.

Am I missing some critical point that would explain the benefot over the MVC method used in the book?

Many thanks


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chap 10 - duplicate file names kenj BOOK: PHP and MySQL: Create-Modify-Reuse ISBN: 978-0-470-19242-9 0 October 12th, 2010 08:45 PM
Chap 10 : Error in sample Code Haziz BOOK: Professional SharePoint 2010 Development 0 June 15th, 2010 04:48 AM
Chap 10 Ex. 1 Solution, Appendix A, p. 638 VictorVictor BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 8 March 30th, 2006 12:47 PM
Chap 10 FileSystemObject Problems orbbital BOOK: Beginning ASP 3.0 2 April 20th, 2005 10:19 AM

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