Register Blogs FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Go Back   DeveloperBarn Forums > Blogs > jmurrayhead

Sponsored Links

Rate this Entry

ASP.Net Application Design

Posted August 15th, 2008 at 05:57 PM by jmurrayhead
Over the past year and a half, I've been doing what I can to convert Classic ASP scripters over to ASP.Net programmers.

Why did I call them "scripters"? Because Classic ASP uses scripting languages such as server-side VBScript and server-side JScript, whereas ASP.Net uses programming languages such as VB.Net, C# and J#. These programming languages are full-blown object-oriented languages.

After I was able to successfully convert these former Classic ASP scripters to ASP.Net, I noticed a common thing among all of them: they all couldn't get their minds past scripting. They treated their C# or VB.Net code as if it was a script.

So, I had to teach them what I was taught and also researched on myself. The Microsoft.Net framework allows you to build applications in a layered or tiered manner. The terms layered application and tiered application are often used interchangeably, but I look at it this way: A layered application is an application that is separated logically whereas a tiered application is separated physically.

So what's all this talk about separation? I've been building my applications in a layered manner. I have the following layers: DAL (Data Access Layer), BLL (Business Logic Layer) and UI (User Interface). The user interface calls on the BLL to perform business logic, which in turn calls on the DAL to perform data access with the database.

How does this benefit me? Breaking an application down into these layers provides the following benefits:

  • maintainability
  • reusability
  • scalability
  • robustness
  • security
For more details on this, see the following MSDN article: Layered Application

If you're interested in learning more about ASP.Net and the layered application approach, I suggest you download the BeerHouse CMS:TheBeerHouse: CMS & e-commerce StarterKit - Home

It is by far one of the best examples of layered application design that I have seen available for free on the web.

That's all for now and I hope this has helped convince you to properly build your ASP.Net and Windows Forms.Net applications.
Submit "ASP.Net Application Design" to Digg Submit "ASP.Net Application Design" to del.icio.us Submit "ASP.Net Application Design" to StumbleUpon Submit "ASP.Net Application Design" to Google
Posted in ASP.Net
Views 105 Comments 1 Email Blog Entry
Total Comments 1

Comments

  1. Old
    don94403's Avatar
    This is something I need to learn. I've programmed in "real" languages in the past, but never got past ASP scripting in the Microsoft world. Thanks for the pep talk and the references!
    permalink
    Posted August 16th, 2008 at 04:38 PM by don94403 don94403 is offline
 

All times are GMT -4. The time now is 09:18 AM.



Content Relevant URLs by vBSEO 3.2.0