Hi,
I'm constructing a new website and want to gather a few opions on n-tier.
In the past I have created a data access layer, and set parametres in the function to return say a datareader to the presentation layer. Then bound it to a grid for example.
If I constructed a Business Logic Layer, that would talk to the Data access layer and return me a data reader as well, or some other custom object.
I see why you should use a BLL to talk to the DAL, but I don't massivily see the point, can someone fill me in....
What I see is breaking compatibility in two places DAL and BLL if I need to make function param changes...
If someone provides a simple worked examples it would be great.
Cheers
I'm constructing a new website and want to gather a few opions on n-tier.
In the past I have created a data access layer, and set parametres in the function to return say a datareader to the presentation layer. Then bound it to a grid for example.
If I constructed a Business Logic Layer, that would talk to the Data access layer and return me a data reader as well, or some other custom object.
I see why you should use a BLL to talk to the DAL, but I don't massivily see the point, can someone fill me in....
What I see is breaking compatibility in two places DAL and BLL if I need to make function param changes...
If someone provides a simple worked examples it would be great.
Cheers