Click here to Skip to main content
15,913,610 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionSetup global settings with abstract class and reflection to avoid xml configuration file Pin
Kannan Ar25-Mar-11 18:33
professionalKannan Ar25-Mar-11 18:33 
AnswerRe: Setup global settings with abstract class and reflection to avoid xml configuration file Pin
Keld Ølykke4-Apr-11 12:17
Keld Ølykke4-Apr-11 12:17 
QuestionGUI design for Harware configuration Pin
Praveen Raghuvanshi15-Mar-11 8:57
professionalPraveen Raghuvanshi15-Mar-11 8:57 
QuestionChat Feature Pin
Civic068-Mar-11 7:38
Civic068-Mar-11 7:38 
AnswerRe: Chat Feature Pin
grmihel28-Mar-11 22:14
grmihel28-Mar-11 22:14 
AnswerRe: Chat Feature Pin
Richard MacCutchan8-Mar-11 23:28
mveRichard MacCutchan8-Mar-11 23:28 
QuestionGRASP: Controller architecture, correct and wrong. Pin
grmihel28-Mar-11 3:42
grmihel28-Mar-11 3:42 
AnswerRe: GRASP: Controller architecture, correct and wrong. Pin
Piccadilly Yum Yum8-Mar-11 5:25
Piccadilly Yum Yum8-Mar-11 5:25 
GeneralRe: GRASP: Controller architecture, correct and wrong. Pin
grmihel28-Mar-11 22:12
grmihel28-Mar-11 22:12 
GeneralRe: GRASP: Controller architecture, correct and wrong. Pin
Piccadilly Yum Yum8-Mar-11 22:57
Piccadilly Yum Yum8-Mar-11 22:57 
QuestionDatabase alerts [modified] Pin
gbovee7-Mar-11 11:25
gbovee7-Mar-11 11:25 
AnswerRe: Database alerts Pin
Eddy Vluggen8-Mar-11 2:05
professionalEddy Vluggen8-Mar-11 2:05 
QuestionI dont find anything for my Business Logic Layer !! Is it wrong to let my Presentation Layer talking to Data Access Layer ? [modified] Pin
Nadia Monalisa27-Feb-11 14:59
Nadia Monalisa27-Feb-11 14:59 
AnswerRe: 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 20:40
mvePete O'Hanlon27-Feb-11 20: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 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 
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 
My collegues and me just had the same discussion this week.
Why do all the extra work if you could simply directly get your data from the DAL?
Well, I think that this is because sooner or later your client is going to call and they want some new functionality or improvements.
So now you have one form where your employee is called, but in a few months you will have two forms.
If you seperate your DAL from your UI you then could simply re-use that same BLL you used earlier. If you did not seperate your UI from your DAL then you will find that:
A. you need to type some code containing logic (either the LINQ query or validation logic) twice.
Or B. you'll have to make a BLL after all to not resort to solution A.

Solution A is definately not good practice and if you find your clients demands rising you will type more code multiple times.
Even worse, if the client wants the logic you now build into different forms to be slightly different, you are going to have to edit all forms that use this logic, and this is easily forgotten if your application is getting larger.
But you do not want B either, because it will cost you a lot of time (first decoupling DAL from UI and then build the extra layer).

So building that extra BLL might look like a lot of work now, but it could save you a lot of work in the future.
Hope this helped. Good luck with it Thumbs Up | :thumbsup:
It's an OO world.

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 

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.