Er. alokpandey's Blog

Building Web Apps without Web Forms

Posted in ASP.NET (C# & VB), C#, LINQ, PLINQ, SEO, Uncategorized by Alok Kumar Pandey on January 24, 2010
Model View Controller Pattern
Luckily, the ASP.NET team has been listening to developers like me and has started development of a new Web application framework that sits side-by-side with the Web Forms you know and love but has a distinctly different set of design goals:
  • Embrace HTTP and HTML—don’t hide it.
  • Testability is built-in from the ground up.
  • Extensible at almost every point.
  • Total control over your output.
This new framework is based around the Model View Controller (MVC) pattern, thus the name, ASP.NET MVC. The MVC pattern was originally invented back in the ’70s as part of Smalltalk. As I’ll show in this article, it actually fits into the nature of the Web quite well. MVC divides your UI into three distinct objects: the controller, which receives and handles input; the model, which contains your domain logic; and the view, which generates your output. In the context of the Web, the input is an HTTP request, and the request flow looks like Figure 1.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: