This week on Herding Code, the guys speak with Joe Brinkman, Co-founder and Technical Fellow at DotNetNuke Corporation, about the ASP.NET MVC vs. Webforms debate, open source development, recent advancements in DotNetNuke and how to improve our industry and the community as a whole.
- Joe explains that the Webforms vs. MVC debate boils down to a component based vs. object-oriented based approach to web development. Joe also shares that one shouldn’t only think about Webforms when doing the comparison. After all, let’s not forget web services, HTTPHandlers and HTTPModules are also part of the ASP.NET stack.
- Joe speaks about the lack of a reusability model in ASP.NET MVC and Scott K offers solutions that go beyond mere copy and paste operations. Joe and Kevin explore how the absence of the component model in ASP.NET MVC is rescued by rich functionality packaged within the Javascript frameworks.
- K Scott and Joe talk about core issues with Webform development. That is, ClientId management, .ASPX in URLs and maintainability concerns around Webform’s event model in the code behind and forcing statefulness in a stateless web environment. K Scott notes that .NET 4.0 will offer URL routing and greater control over ClientId generation so key areas of concern may soon be addressed, but it will take further framework improvement to provide greater control over the Webform abstraction layer.
- Everyone agrees that Microsoft, vendors and community will provide components to pave the way to richer, easier to implement, ASP.NET MVC applications. Additionally, advancements will continue in the Webforms space. Most notably, the guys assume there is bound to be a push towards a better Webforms testability story.
- Kevin gives historical context to Webforms and why the abstraction model was revolutionary and arguably necessary. Knowing full well that hate mail is to come, Jon talks about using the “right” tool for the job and how he plans to continue to use Webforms where appropriate.
- Jon and Joe summarize four big reasons why EVERY developer should learn MVC and Scott K asks what can be done with senior web developers who just don’t want to learn the new framework? This leads into a conversation about honing one’s craft, mentorship, leading by example, and following through with supervision and code reviews.
- Now that ASP.NET MVC is in the picture, the group wrestles with what to call ASP.NET Webforms. Classic ASP.NET is kind of catchy (and a little confusing.)
- Jon and Joe talk about changes in Open Source – inside and outside of the Microsoft community – over the past six years.
- Scott K talks about the “promise” of being able to contribute to an open source project and asks about the managing patches – specifically on large open source projects.
- The guys also dive into open source definition, licenses, legal considerations, protections around intellectual properties and implicit copyright on code.
- The episode wraps up with a Joe providing a nice overview of DotNetNuke’s past, present and future.
Show Links:
Download / Listen:
Herding Code 47: Joe Brinkman on Webforms vs ASP.NET MVC
Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.
Show notes compiled by Ben Griswold. Thanks!
May
13
This entry was posted
on Wednesday, May 13th, 2009 at 2:32 pmand is filed under Uncategorized.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
8 Comments Herding Code 47: Joe Brinkman on Webforms vs ASP.NET MVC
Liam McLennan
May 13th, 2009 at 6:34 pm
Joe Brinkman argues that MVC doesn’t give you greater control than WEBFORMS because the developer can go around WEBFORMS.
Joe Brinkman
May 14th, 2009 at 5:59 am
Thats not exactly my argument. My argument is that when you need control in Webforms, then you have methods to achieve that control. But most of the time that level of control is not needed to achieve the goal of having clean html.
Josh Smith
May 14th, 2009 at 7:07 am
Joe, Wordpress plug-ins are Zip files (binary) that contains the scripts (code) and an XML file describing files and dependencies (meta-data) using the Worpress API. How is this different than, say Infragistics’ components apart from been compiled to IL?
Also, I’ve noticed that some DevExpress components (The HTML Editor, for example) require additional .ASPX pages added to the project (SpellChecker) which, of course, won’t get added if I just type the tag in the editor.
So, packaging controls in an assembly doesn’t guarantee that the controls are going to work since there are dependencies that can’t be described by an assembly’s meta-data.
Thanks
Harry
May 14th, 2009 at 7:34 am
Mr. Brinkman, your argument can pretty much be used by all technology arguments. You don’t have to give up VB6, because if you find it too limited, you always have methods to achieve the same control. You don’t have to give up classic ASP3 even you think it has problems, you have methods to achieve the same result as ASP.NET. You don’t have to learn OO because structural/procedural programming can achieve the same thing …
Technologies come and go. Learn it, Man, no harm to try it. People might not have time or realistic reasons to learn MVC (maybe they are RoR developers). But, for Microsoft web develoeprs, your suggestion that ‘there is no good reason to learn MVC’ is just harmful to community.
The Technology Post for May 14th - Jason N. Gaylord's Blog
May 14th, 2009 at 2:37 pm
[...] Herding Code 47: Joe Brinkman on Webforms vs ASP.NET MVC (Suggested by Joe Brinkman) [...]
John T
May 21st, 2009 at 3:53 pm
@Harry,
Were you listening? I think Mr. Brinkman was pretty clear about why people need to learn MVC including him. In no part did he mentioned that he did not want to learn it. I will agree with you though that he’s argument about the two technologies was pretty weak!!!
The Other Steve
June 3rd, 2009 at 1:25 pm
Gadzooks! I finally listened to this.
DotNetNuke is sadly a shining example of everything that is wrong with .NET development.
Herding Code 47 Joe Brinkman on Webforms vs ASP NET MVC Herding | fix my credit
June 16th, 2009 at 7:02 pm
[...] Herding Code 47 Joe Brinkman on Webforms vs ASP NET MVC Herding Posted by root 56 minutes ago (http://herdingcode.com) Now that asp net mvc is in the picture the group wrestles with what to call asp net webforms classic asp e mail required never displayed uri comment powered by wordpress and salmon by justin shattuck Discuss | Bury | News | Herding Code 47 Joe Brinkman on Webforms vs ASP NET MVC Herding [...]
RSS feed for comments on this post · TrackBack URI
Leave a Reply