|
-
December 15th, 2006, 01:44 AM
#1
business vs data access tier?
what are your thoughts when using dot net data bound controls in a web site?
Use the data access object in your aspx files and remove a tier from the multi-tiered architecture, or ignore what Microsoft has created in favor of separating your data-access from your business logic?
-
December 15th, 2006, 08:48 AM
#2
Re: business vs data access tier?
There are two prevailing design patterns, each with advantages and limitations.
1) Use Typed DataSets to carry information through the tiers.
2) Use Custom "Business" objects to interface between the UI and Data layers.
Additionally, the concept of "State" Objects is gaining momentum.
What I consider when choosing betwen these designs is:
What level of logic (i.e. Operations) needs to be performed to make the information meaningful and robust?
For about 80% of the cases I have dealt with, "Business" objects are the way to go for non-Service Oriented implementations. When you go with an SOA, then "State" objects start to make alot of sense as they typically have lower overhead, but provide the desired benefits.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|