Print

Windows & .NET Watch: MVC wins MVP



Larry O Brien
Email
June 15, 2009 —  (Page 1 of 2)
ASP.NET MVC may have a clunky name, but it’s a great technology. The official line from Microsoft is that ASP.NET MVC is an alternative, not a replacement, for ASP.NET Web Forms, but I don’t expect to use Web Forms as the technology for any new projects going forward.

I’ve argued that “stuff in the right place” may be the defining characteristic of good software—not functionality, nor elegance, nor adherence to any particular paradigm or coding style. What I like the most about ASP.NET MVC is that it creates a nice scaffolding for business Web applications. To be sure, the Model-View-Controller design pattern boasts a purebred heritage going back to Smalltalk and is, probably, the most well-known pattern in object-oriented programming (at least by name if not by structural detail).

ASP.NET MVC may put Smalltalk on its family crest, but it does so by way of Ruby on Rails. Rails has been, without a doubt, a trailblazer and has become my preferred technology for Web development. The trouble with Rails is that Ruby developers have been hard to find, and corporate clients are often resistant toward introducing the Ruby technology stack alongside their existing .NET or Java stacks.

In contrast, a client who had nixed Rails for an upcoming project approved ASP.NET MVC without even a blip of hesitation. The Microsoft brand still means a lot.

When a new ASP.NET MVC project is created, six different folders are generated, with names like App_Data, Controllers, Views and so forth. If you choose to generate a Test project (which you ought to do), your “Project” window will end up being fairly crowded. I have to acknowledge the school of thought that equates “ease” with “fewer files,” and I can imagine a world where we (unfortunately) see newer programmers avoiding ASP.NET MVC because of its inherent complexity.

In truth, navigating an ASP.NET MVC application is less complicated than navigating in most business applications. I have a client whose codebase is so bad that grepping from the root directory is universally acknowledged as the fastest way to find a function definition. Even though that codebase is admittedly worse than normal, it all boils down to “a place to keep your stuff,” and ASP.NET MVC encourages a set of structural conventions that aid the placement of code.



Related Search Term(s): Microsoft, MVC

Pages 1 2 


Share this link: http://sdt.bz/33530
 
Most Read  Latest News  Resources

close
NEXT ARTICLE
SD Times Blog: Microsoft Open Tech turns one
Subsidiary advances Microsoft's cooperative stance toward open source Read More...
 
 
 




News on Monday  more>>
Android Developer News  more>>
SharePoint Tech Report  more>>
Big Data TechReport  more>>

   
 
 

 


Download Current Issue
MAY 2013 PDF ISSUE

Need Back Issues?
DOWNLOAD HERE

Want to subscribe?