Click here to Skip to main content
15,898,373 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Nadia Monalisa27-Feb-11 21:24
Nadia Monalisa27-Feb-11 21:24 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Pete O'Hanlon27-Feb-11 22:21
mvePete O'Hanlon27-Feb-11 22:21 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Nadia Monalisa27-Feb-11 23:15
Nadia Monalisa27-Feb-11 23:15 
AnswerRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Eddy Vluggen27-Feb-11 22:14
professionalEddy Vluggen27-Feb-11 22:14 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Nadia Monalisa27-Feb-11 23:10
Nadia Monalisa27-Feb-11 23:10 
AnswerRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
RobCroll27-Feb-11 23:40
RobCroll27-Feb-11 23:40 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Nadia Monalisa28-Feb-11 0:39
Nadia Monalisa28-Feb-11 0:39 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
RobCroll28-Feb-11 2:00
RobCroll28-Feb-11 2:00 
Definitely with Entity Framework, LINQ to SQL and alike have blurred the borders but even in more traditions architectures, the presentation can still be exposed to the entities which encapsulate the data. There is no reason why a DataGrid in the presentation can't display a collection of entities.

It looks like LINQ is querying your DB but if the DataContext is actually your DAL then LINQ is actually querying your DAL. LINQ just offers a flexible approach to communicating with the DAL as opposed to the old way of having to write a method (in the DAL), for every possible permutation the BLL may request.

So instead of the DAL deciding what the BLL can and can't request. The DAL just provides access to the data source and describes the data. The BLL is free to do what it is supposed to: decide what the presentation can and can't access.

What I have just said may be technically wrong but that's how I see it conceptually.
"You get that on the big jobs."

AnswerRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Sander Rossel11-Mar-11 3:49
professionalSander Rossel11-Mar-11 3:49 
GeneralRe: I dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? Pin
Nadia Monalisa11-Mar-11 4:21
Nadia Monalisa11-Mar-11 4:21 
QuestionDesign of WCF Pin
Mycroft Holmes27-Feb-11 13:49
professionalMycroft Holmes27-Feb-11 13:49 
AnswerRe: Design of WCF Pin
JV99992-Mar-11 2:57
professionalJV99992-Mar-11 2:57 
QuestionEstimate the cost of a Software application Pin
nz_hmz25-Feb-11 4:23
nz_hmz25-Feb-11 4:23 
AnswerRe: Estimate the cost of a Software application Pin
JV999925-Feb-11 4:43
professionalJV999925-Feb-11 4:43 
GeneralRe: Estimate the cost of a Software application Pin
nz_hmz25-Feb-11 5:46
nz_hmz25-Feb-11 5:46 
GeneralRe: Estimate the cost of a Software application Pin
Mycroft Holmes25-Feb-11 18:35
professionalMycroft Holmes25-Feb-11 18:35 
AnswerRe: Estimate the cost of a Software application Pin
Eddy Vluggen25-Feb-11 23:10
professionalEddy Vluggen25-Feb-11 23:10 
AnswerRe: Estimate the cost of a Software application Pin
RobCroll27-Feb-11 0:07
RobCroll27-Feb-11 0:07 
GeneralRe: Estimate the cost of a Software application Pin
grmihel28-Mar-11 22:27
grmihel28-Mar-11 22:27 
AnswerRe: Estimate the cost of a Software application Pin
Piccadilly Yum Yum3-Mar-11 2:24
Piccadilly Yum Yum3-Mar-11 2:24 
QuestionUnified System Security Design - Database / Code / Both! Pin
Jammer13-Feb-11 7:51
Jammer13-Feb-11 7:51 
AnswerRe: Unified System Security Design - Database / Code / Both! Pin
Manfred Rudolf Bihy13-Feb-11 10:37
professionalManfred Rudolf Bihy13-Feb-11 10:37 
GeneralRe: Unified System Security Design - Database / Code / Both! Pin
Jammer15-Feb-11 4:04
Jammer15-Feb-11 4:04 
QuestionIs MSMQ old school Pin
RobCroll1-Feb-11 0:08
RobCroll1-Feb-11 0:08 
AnswerRe: Is MSMQ old school Pin
Pete O'Hanlon1-Feb-11 0:14
mvePete O'Hanlon1-Feb-11 0:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.