Layered Architecture and Static Methods
- by BigBoss
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.