ASPX Forms is dead. Long live MVC.NET

Some time ago my old good friend asked me to help him with .NET web project. It was already done as ASPX Forms web application, so, I decided to move on in this direction. There is MSSQL database with data access layer implemented as Entity Framework model. I didn’t touch them. I created middle tier to contain all logic.

What about web UI? As I said, I implemented it as ASPX Forms solution splitted into several UserControls as components. Well, it seems not easy as any other web programming task I’ve done for already several years. Why? Maybe cause it was legacy incorrectly designed solution? No, it’s regular even standard project with clean robust design on business layer. So, what’s wrong with that? Short answer is ASPX.

For already several years I’ve experienced web development mostly in MVC way. I’ve been used this patter with python (Django), ruby (Rails), perl (Catalyst, Mojolicious), php (Zend Framework), .net (ASP.NET MVC), java (Struts). MVC provides clean technical control of web project.

ASPX Forms can’t be so good. Keep in mind, it was born as ancient MS VB child with its forms/events architecture instead of clean pure web design. Forms looks like a set of components useful to create some standard solutions only. Any desing of non-standard solution is going hard and its implementation slow, if we compare ASPX vs. MVC.

So, ASPX Forms must die.

Aspx_ef_mssql_army_llc_project


Advertisements
1 comment
  1. Alexander Alexeychuk said:

    Form conception is used in the MVC frameworks as well, but in different way. The main power of such forms is providing almost pure declarative composition of standard controls with minimal coding efforts and even with some standard layout for both the whole form layout and the standard controls layout. It’s useful for RAD when you need to implement a lot of standard forms.

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: