Architecture of my ASP.NET app
- From: Guest <Guest@xxxxxxxxxxxxxx>
- Date: Mon, 16 May 2005 04:41:17 -0700
I'd appreciate some help from any architectural gurus out there. I'm creating a web app with 3 tiers,
A presentation layer which is an aspnet application.
A business object layer which is a group of custom classes that map to my database entities, items of each type, for example 'clientitem' and collection classes that are collections of items, for example 'clientcollection'.
A data access layer that uses a component class connected to a sql database and uses commands, adapters and datasets to return my data to the business object layer.
I've referenced the bol in my aspnet app and get some quite useful abstraction from the database using this method, my aspnet app is completely ignorant of any information regarding the database, field names, anything really.
I've referenced my dal app in my bol app and what I am finding is that I am now required to tie the business object layer to the database layer, field names etc, I could use field position numbers/ordingals but I find this unreliable, confusing and possibly troublesome, I don't want to tie my bol to my dal, how can I avoid this? Or am I just dreaming, I realise the rubber has got to touch the road somewhere, the only thing I can think of is referencing back to my bol app from my dal app(this would allow me to return native bol app entities) but that sort of negates having seperate apps for them in the first place.
Basically I'm returning datasets or results as parameters from the dal to the bol, then map them into the bol apps entities, how would you guys achive this with some level of abstraction....?
regards,
JCC.
User submitted from AEWNET (http://www.aewnet.com/)
.
- Follow-Ups:
- Re: Architecture of my ASP.NET app
- From: J
- Re: Architecture of my ASP.NET app
- From: Kevin Spencer
- Re: Architecture of my ASP.NET app
- From: garethdjames@xxxxxxxxx
- Re: Architecture of my ASP.NET app
- Prev by Date: Re: i have the same problem
- Next by Date: httpcontext.current.session doesn't get correct session
- Previous by thread: Check if variable is empty
- Next by thread: Re: Architecture of my ASP.NET app
- Index(es):
Relevant Pages
|