Layered Architecture and Static Methods

Posted by BigBoss on Stack Overflow See other posts from Stack Overflow or by BigBoss
Published on 2010-05-14T19:45:34Z Indexed on 2010/05/14 20:14 UTC
Read the original article Hit count: 280

Filed under:
|

I need suggestion for three layered architecture I am planning to implement.

Scenario

Am Working in ASP.NET c# 3.5 Environment.

DLHelper: Methods to get data from database.

DAL : Contains Methods which collects data from database with help of DLHelper classes. Most of the methods in this layer are not referencing any page level object, hence can be declared static.

BL : Same as DAL Layer, most of the methods are not referencing any page other page level object, hence can be declared static.

UI Layer: As per above scenario UI Layer call to BL Layer is like

BLClass.Method -> DALClass.Method

Question I would like to know is this standardise way to do it. As per discussion with my co-worker, we should have corresponding object of BL/DAL layer. But am still looking for more convencing answer.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about layered