SharpLife.NET
A sharp way to know more // Mahdi Taghizadeh's Daily Web Keystrokes.
Navigation for SharpLife.NET - How to choose between ASP.NET MVC and Web Forms
Content
Sidebar
Footer
April 13, 2009
@ 11:21 PM
Comments [6]
How to choose between ASP.NET MVC and Web Forms
A few days ago I had a chance to see a
tweet
from
Wrox
inviting users to participate in a private review access to
ASP.NET MVC 1.0 Website Programming: Problem - Design – Solution
and fortunately I was among those 10 lucky guys who gained access to the first eight chapters of the book (it sounds good that authors are starting to offer sample chapters in private or public preview forms like what ScottGu has done by
publishing
the first chapter of
Professional ASP.NET MVC 1.0
). Meanwhile I don’t want to write a classic review post about this book because the book is not yet officially published and also I don’t have access to other chapters. I just want to thank Wrox guys and book authors to do this and I’m sure such movements will increase Wrox books quality.
What I want to talk about in this blog post is a very good ‘How to’ section in chapter 2 of this book: ‘How do I choose between MVC and Web Forms’. It has been a common question among all ASP.NET developers since the first preview releases of
ASP.NET MVC
and many guys in the community have wrote posts and articles about it. The last discussion I remember on this topic was
Rachel Appel
’s session at MIX ‘09 titled ‘
Choosing between ASP.NET Web Forms and MVC
’ (you can also download a high-res video
here
) that was very useful. After reading the book preview chapters I found a very good and practical way to rank your real need in the book and it was a worksheet to help you make the right decision for a project; as we read in the book:
After publishing this post I found out that author has already posted about this on his own website. So to respect his and Wrox Press rights I removed the mentioned section from chapter 2 of the book and you can read about it at
http://www.coderjournal.com/2008/12/introducing-aspnet-mvc-part-2-aspnet-mvc-vs-webforms/
P.S.: I want to thank Nick Berardi, Al Katawazi and Marco Bellinaso, that are the book authors, for their cool book
P.S. (2): As I found out (after publishing this post, and I swear I haven’t ever seen that) there is an
original post
about this by Nick Berardi and so
I reference it here and I may remove the whole post content except this link if Nick or Wrox request
(I did it) that but it seems that
someone
likes to argue about this more than what the owners of the book should do. Dear Lee! I don’t need to get impression as you said; I just wanted to spread a good word and thank them but you introduced me as a community killer and I’m so sorry for you!
Categories:
ASP.NET
|
ASP.NET MVC
|
Book Review
Related posts:
Build pretty clean URL for your dynamic pages using JavaScript
How to handle non-English characters in ASP.NET MVC routes
ASP.NET MVC Free eBooks
Microsoft Released Anti-XSS 3.0 Beta and CAT.NET CTP
iDevCenter is back!
Useful HtmlHelpers for ASP.NET MVC
« Centralize your identity with Chi.mp
|
Home
|
ASP.NET MVC Free eBooks »
Tuesday, April 14, 2009 12:18:28 AM (Iran Standard Time, UTC+03:30)
Mahdi,
I just wanted to thank you for sharing this. I have an app that I started with Web Forms and about a day into thought that since ASP.NET MVC 1.0 just launched that I would try it.
Here's something that I found that seems easier to do with MVC and that is using LINQ to display data on a page. It just seems so much easier to grab sub objects with no need for extra bindings or code that would be needed when using web forms.
Ted
Ted Darling
Tuesday, April 14, 2009 6:01:16 AM (Iran Standard Time, UTC+03:30)
So here's the problem with a chart like this: the assumption is that you can score things as a "need/don't need". For instance:
>>>Need to use existing third party controls for ASP.NET Web Forms
Many people would say "well, yah, we really need our Tree Control that we've been using for years. Oh well, looks like WebForms it is". The problem here is that you're pitting a need for a Tree Control against something like testability and better markup (10 versus 12). It's actually not a comparison at all - you can replace a Tree View control with jQuery in about 10 minutes and have both.
I appreciate their attempt at this chart - but it really shouldn't be used.
Rob Conery
Tuesday, April 14, 2009 8:39:07 AM (Iran Standard Time, UTC+03:30)
@Ted
Glad to see it was useful to you but you should thank the book authors for their original work. I just re-published it here and everything belongs to them.
Mahdi Taghizadeh
Tuesday, April 14, 2009 9:01:24 AM (Iran Standard Time, UTC+03:30)
@Rob
I do emphasize that it's not a work by me! I just quoted it here.
Mahdi Taghizadeh
Tuesday, April 14, 2009 5:20:19 PM (Iran Standard Time, UTC+03:30)
The lady from that video talks entirely too much.
Sean
Wednesday, April 15, 2009 12:26:28 AM (Iran Standard Time, UTC+03:30)
Thanks for sharing this, hadn't noticed it earlier. I created a simple form with Nick's worksheet to share this with colleagues:
http://marti.labidas.com/static/mvc-vs-webforms/
Though I agree with Rob in that it isn't always as simple as "need/don't need", I still believe I can use this to further convince my workplace to adopt MVC in future projects.
Marti Kaljuve
Comments are closed.
Special
Tabassom's Photo Gallery
Contact
Email me! |
|
RSS/Subscribe
Subscribe in a reader
Archives
All dates
All Posts
Search
Latest Posts
Translating your content title using Google Translate API to use in a URL
Build pretty clean URL for your dynamic pages using JavaScript
How to enable your iPhone voicemail for Iran MCI subscribers
How to receive BNO breaking news alerts for free on your iPhone via Push Notification
How to handle non-English characters in ASP.NET MVC routes
ASP.NET MVC Free eBooks
How to choose between ASP.NET MVC and Web Forms
Centralize your identity with Chi.mp
Categories
.NET General (15)
AJAX (11)
ASP.NET (24)
ASP.NET MVC (7)
Book Review (2)
C# (4)
Celebrities (1)
Community Server Persian (1)
dasBlog (1)
Download (27)
eBooks (1)
Freebies (3)
General (7)
i18n (7)
iPhone (2)
Iran (5)
JavaScript (2)
Life (2)
Mathematics (2)
Microsoft (10)
Music (1)
News (1)
Notebook (1)
Other (6)
Personal (15)
Politics (1)
Review (1)
Security (8)
SEO (2)
SharpLife.NET (6)
Smart Phone (2)
Software (7)
Sports (3)
SQL Server (1)
Tabassom (2)
Tips and Tricks (3)
Tools (7)
Training (2)
Tutorial (5)
Web (9)
Web 2.0 (11)
Web Development (13)
Web Services (3)
Archives
November, 2009 (1)
October, 2009 (1)
August, 2009 (1)
April, 2009 (3)
January, 2009 (2)
December, 2008 (3)
November, 2008 (2)
October, 2008 (1)
September, 2008 (2)
August, 2008 (2)
July, 2008 (2)
June, 2008 (1)
November, 2007 (2)
October, 2007 (4)
September, 2007 (14)
August, 2007 (5)
May, 2006 (4)
April, 2006 (6)
March, 2006 (5)
February, 2006 (20)
January, 2006 (2)
BlogRoll
Behnam Youssefi
Farid Arzpeyma
Hadi Eskandari
Hamed Banaei
Hamid Shojaee
Keyvan Nayyeri
Milad Karbasizadeh
Mohammad Mahdi Ramezanpour
Nima Shayafar
Pedram Pourhossein
Raiha Buchanan
Sassan Yeganegi
Scott Hanselman
Shima Dehbashi
Tabassom Taghizadeh
See my little daughter photos.
Categories
.NET General
AJAX
ASP.NET
ASP.NET MVC
Book Review
C#
Celebrities
Community Server Persian
dasBlog
Download
eBooks
Freebies
General
i18n
iPhone
Iran
JavaScript
Life
Mathematics
Microsoft
Music
News
Notebook
Other
Personal
Politics
Review
Security
SEO
SharpLife.NET
Smart Phone
Software
Sports
SQL Server
Tabassom
Tips and Tricks
Tools
Training
Tutorial
Web
Web 2.0
Web Development
Web Services