Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion 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 4th, 2010, 12:34 PM
Friend of Wrox
 
Join Date: Mar 2010
Posts: 99
Thanks: 21
Thanked 6 Times in 4 Posts
Default Give your opinions about WebForms or MVC

Hello,

I would like to hear opinions about WebForms and MVC.

Many said that the MVC is the way to go to develop 'proper' web applications.. others seem to say that WebForms is an easy way to go and probably fastest way to develop web applications.

Thanks.
 
Old May 4th, 2010, 12:53 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Rushino,

And the truth is in the middle somewhere.... ;-)

Yes, MVC can be a cleaner solution, especially in terms of URL structures and pureness of the code. However, Web Forms can be more RAD-style and leverage the existing set of complex server controls, for example.

IMO, both have a place, and will have for the forseaable future.

I best like the Cart versus Motorcycle comparison; both have a place. When you're facing a lot of traffic, a motor cycle will get you there quicker. When you need to bring a lot of stuff, choose a car.

http://haacked.com/archive/2008/11/1...of-aspnet.aspx
http://weblogs.asp.net/despos/archiv...p-net-mvc.aspx
http://thedatafarm.com/blog/asp-net/...-asp-net-work/

You may also find this an interesting read: http://weblogs.asp.net/scottgu/archi...articular.aspx

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
Rushino (May 4th, 2010)
 
Old May 4th, 2010, 01:52 PM
Friend of Wrox
 
Join Date: Mar 2010
Posts: 99
Thanks: 21
Thanked 6 Times in 4 Posts
Default

Thanks for that reply! :) Great infos you bring.
 
Old May 6th, 2010, 12:33 AM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

MVC is definitely really popular right now, especially since it's the new toy on the shelf. Everyone wants to play with it. I agree with Imar, it's an excellent new tool that will find a place in our toolboxes for a long time to come, but it does different things than webforms, and I don't believe it replaces them.

The advantage to MVC is that it's probably a more powerful technique than webforms, its definitely more unified than webforms, but it does require more custom programming (something I like about it actually). The danger with MVC is that even though you CAN program it with a nice and modular structure, there are a lot of tutorials, examples, demos, and live sites which use one huge monolithic controller. Like I said, if you exert developer will power and write your program more sensibly, MVC works just fine, but this is a knock against MVC in practice (in the same way that it's perfectly possible to write OOP code in PHP, but many PHP programmers simply don't. OOP is still quite controversial in the PHP community, which is bizarre in my opinion considering that C++ has been around for years.
__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors while upgrade theBeerHouse mvc project form asp.net mvc 1.0 to 2.0 vanbach1304 BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 0 April 20th, 2010 06:43 AM
TheBeerHouse MVC preview ASP.NET MVC Website Programming Problem Design Solution jminatel BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 July 18th, 2009 09:16 AM
Opinions sought re Captcha image use?? jimibt BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 6 April 9th, 2007 05:52 PM
Access or MSDE - Opinions? johnm73 VB Databases Basics 0 July 20th, 2005 03:48 AM
Opinions About Contribute harpua Dreamweaver (all versions) 4 December 1st, 2004 05:47 PM





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