views:

67

answers:

4

hi I'm studying business layer and need a complete reference which covers issues about "how to manage dependency between business layer and other layers", "how many ways are there to send data between layers" and most important for me "how to group business logic and make business component and talk about possible ways....".

do you know any reference?

EDIT: I would be delighted if you introduce some e-book for it.

Thank you

A: 

the best (in my opinion) approaches to decoupling layers it to use a message passing metaphor. This way communication between the layers is done with messages that are types that contain information only pertinent to the communication. These light weight types are then interpreted by each layer as they see fit.

In essence don't pass things that are not needed. If both layers need a piece of information then there is a high likely hood that some other entity should be brokering access to that information (for example persisted data in db).

Preet Sangha
+1  A: 

How about something like

Three-Layered Services Application

alt text

and

Layered Application

astander
+1  A: 

I think you should consider reading these books.

alt text

alt text

this. __curious_geek
+1  A: 

I recently stumbled onto this one and found it to be a great read (free ebook in PDF, or read it in MSDN), got the printed version on Amazon shortly after.

Microsoft Patterns & Practices Application Architecture Guide 2.0 - http://apparchguide.codeplex.com/

EDIT: Here's the section on Business Layers in the MSDN version: http://msdn.microsoft.com/en-us/library/ee658103%28v=PandP.10%29.aspx

Darkwoof