Click here to Skip to main content
15,891,184 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: How do you specify states? State Pattern, Enums or ...? Pin
Keld Ølykke24-May-11 2:28
Keld Ølykke24-May-11 2:28 
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 
I've developed on an application for quiet long now, and it consist of 2 sub systems, 1 for Marketing and 1 for Management. They have an seperated DB each. Now I have an UI that have to pick information in both databases, and I wondered if my controller pattern was correct, since I somehow got the idea that a UI that have connection to both Controller Facades, must be somehow incorrect?
My original setup was like this:

          [UI]

------Controllers------
   
     [Business Logic]

------Datacontext------

MarketingDB | ManagementDB



I don't know if it give you any sense? The controller on the drawing consist of the 2 controllers described above. Would it be right to make an on-top controller and call that one FrontController, so ALL UI's are connection to the FrontController no matter if they are Marketing UIs or Management UIs? Imo that gives you the ultimate of low coupling between UI and business layer, and lowest coupling between the Controllers and the UI layer, but I don't know if this is 'correct' or wrong? What is your oppinion???

I have two drawings to show the concept I wanted to do:
http://img192.imageshack.us/i/controllerdomaincontrol.jpg/[^]

ONLY FrontController:
http://img62.imageshack.us/i/controllerfrontcontroll.jpg/[^]


Which one would you prefer as correct architecture? And why?
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 
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 

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.