PDC 2008: First in-depth look at ASP.NET MVC

By Scott M. Fulton, III | Published October 27, 2008, 9:01 PM

PDC 2008 story bannerAt Day 1 of PDC 2008 in Los Angeles, attendees got their first look at a technology Microsoft introduced earlier this month into beta: a new way for building reformed Web applications.

The Web site StackOverflow.com is the latest example of a fully operational Web site, running today out of beta, using a technology from Microsoft that is still in beta: ASP.NET MVC, the new compartmentalization model for content-driven Web site programming.

This afternoon, Microsoft senior program manager Phil Haack showed attendees how many of the functions of StackOverflow could be essentially duplicated -- or shamelessly ripped off -- in about the time it takes to give a talk at PDC. StackOverflow takes comments from developers who are searching for solutions to specific problems; the content of the site, therefore, is like a BBS. It's made up principally of comments from users, who may not necessarily be members. Using ASP.NET MVC, a developer can generate complex queries that produce models of the underlying data. Those models can then be processed using views, which render the comments in very clean HTML code that can be cleaned up using CSS.

Microsoft senior program manager for ASP.NET MVC Phil Haack with StackOverflow.com proprietor Jeff Attwood, at Day 1 of PDC 2008.

BETA CAPSULE ASP.NET MVC

What It Is
An extension to ASP.NET that enables Web developers to make their work more sensible and extensible by compartmentalizing the functions of managing and displaying content into three discrete actors: the model, the view, and the controller.

How It Works
For the Visual Studio programmer, ASP.NET MVC is a new Web Application Project (WAP) type. Once engaged, it enables him to build the controller, which is effectively the producer of the content of the Web page. Its job is to process requests from the user; through those requests, the controller generates the model of the data for the site. This is the type of content for which sites rely on content management systems of one form or another; here, the controller performs the management functions at the code level.

At runtime, the user requests result in the controller creating views of the data. How the site displays those views depends on specific view modules which are named for each view. The product is pure HTML, though CSS can (and obviously should) be employed to enable formatting; JavaScript scripts may also be helpful.

What It Means
The absolute division of labor in the development of a content-driven Web site could easily drive down development time. That said, the use of MVC in ASP.NET is nowhere near automatic; its senior program manager at Microsoft, Phil Haack, compared the differences between programming in ASP.NET 3.0 and ASP.NET MVC to driving a manual transmission and an automatic. With a stickshift, Haack said, you have more driving fun, but you have to pay more careful attention to how your brakes are set and what your RPM is -- factors on a much lower level.

For Microsoft, ASP.NET MVC helps score more points with the open source community -- which have contributed ideas to the project, as well as JavaScript scripts that Microsoft tends to use with it (jQuery being one of them); and the standards community which welcomes (or at least should welcome) the trend toward sensibility and practicality. It's also a low-intensity project that requires a minimal development team at the company (Haack works with just a handful of other people), that has a maximal payoff in terms of visibility and developer interest.

Before it can tackle Windows, Chrome must leave Safari in the dust

It's a little browser with dreams of becoming a bigger operating system some day. But while it's chasing Microsoft's dreams, Chrome's tail is being chased by Apple.

Silverlight 3 goes live on Microsoft's servers

Microsoft's answer to Adobe's Flash is (unofficially) here, with prospects of higher-speed, higher-resolution video and for the first time, 3D.

Best Buy-brand TVs to get TiVo

A new alliance will place the retailer's own brand alongide the manufacturers, and could also lead to future partnerships on services.

Three Android phones on the way from T-Mobile in 2009

T-Mobile's myTouch 3G, launched Wednesday, will be followed by two more Android phones later this year, but neither of them will be HTC's Hero.

LTE still lacks a voice

The 4G Wireless standard that Verizon hopes to show off before this year is out is still at a loss for (spoken) words.

T-Mobile's strategy to combat Apple's iPhone with Android

With a trio of Android phones now in the pipeline for 2009, T-Mobile hopes to break the iPhone's emerging stranglehold.

EC's Reding: Government should act as broker for media downloads

If Internet media services don't step up and build an attractive way for users to start paying for downloads, a commissioner says, government may do the job instead.

Sony TVs get Netflix, still no PS3

Though it's coming in behind LG, Samsung, and Microsoft, Sony will begin to offer Netflix streaming, too.

Google Chrome OS: Too little, too early

Carmi Levy: Wide Angle Zoom Don't start the revolution just yet, says Carmi, who isn't so certain Chrome OS will be the "Windows Killer."

GAO pen test brings the hammer down on federal rent-a-cops

But are the computers to blame for the contract-guard fiasco at FPS?

What's Next: Chrome OS will have at least some friends in high places

Also: South Korea takes another round of DDoS abuse, and Neelie Kroes and Steve Ballmer may shake hands before she exits stage left.

Data sharing among online advertisers: Is sanity in sight?

Lockdown with Angela Gunn In the middle of a 15-page plea not to get regulated, a spark of smart thinking.

PST Recovery Software 12.0

July 9 - 11:34 PM ET

Unistal Data Recovery 12.08.06

July 9 - 11:09 PM ET

BKF Repair 3.0

July 9 - 10:54 PM ET

Vuze for Windows 4.2.0.4

July 9 - 6:26 PM ET

UltraVNC 1.0.6.4

July 9 - 6:05 PM ET

WildBit Viewer 5.5 Beta 3.0

July 9 - 5:44 PM ET