Click here to Skip to main content
15,905,144 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Avoiding Circular References with Application Architecture Pin
Leftyfarrell21-Jan-09 13:34
Leftyfarrell21-Jan-09 13:34 
GeneralRe: Avoiding Circular References with Application Architecture Pin
Jon Rista21-Jan-09 18:34
Jon Rista21-Jan-09 18:34 
GeneralRe: Avoiding Circular References with Application Architecture Pin
Leftyfarrell22-Jan-09 1:27
Leftyfarrell22-Jan-09 1:27 
GeneralRe: Avoiding Circular References with Application Architecture Pin
led mike22-Jan-09 4:59
led mike22-Jan-09 4:59 
GeneralRe: Avoiding Circular References with Application Architecture Pin
Jon Rista22-Jan-09 5:35
Jon Rista22-Jan-09 5:35 
GeneralRe: Avoiding Circular References with Application Architecture Pin
led mike22-Jan-09 6:08
led mike22-Jan-09 6:08 
AnswerRe: Avoiding Circular References with Application Architecture Pin
Jon Rista22-Jan-09 5:11
Jon Rista22-Jan-09 5:11 
AnswerRe: Avoiding Circular References with Application Architecture Pin
Moim Hossain22-Jan-09 23:41
Moim Hossain22-Jan-09 23:41 
Leftyfarrell wrote:
What is the best architecture to avoid/work around this problem?


Don't know how you will take this, but my opinion will be as follows,

The common will contain only the DTO structure of the data you are concerned about. for example you common can have a class roughly something like

namespace Common {
      public class SupportedCultures : Collection<culture> {}
}

// now you DAL should have an interface like

ICultureDal { Common.SupportedCultures GetSupportedCultures();}

//Now, in the buiness layer,

IBusinessServices
{
   Common.SupportedCultures GetSupportedCultures();// it will use the ICultureDal to get the data 
}</culture>


now you client application will use the IBusinessServices to get the list of culture and may be cache it as needed to avoid further business calls. (you can also cache it at your service layer)

Moim Hossain
R&D Project Manager
BlueCielo ECM Solutions BV

GeneralRe: Avoiding Circular References with Application Architecture Pin
Jon Rista23-Jan-09 4:47
Jon Rista23-Jan-09 4:47 
QuestionRe: Avoiding Circular References with Application Architecture Pin
led mike23-Jan-09 5:23
led mike23-Jan-09 5:23 
AnswerRe: Avoiding Circular References with Application Architecture Pin
Jon Rista23-Jan-09 5:44
Jon Rista23-Jan-09 5:44 
GeneralRe: Avoiding Circular References with Application Architecture Pin
led mike23-Jan-09 7:00
led mike23-Jan-09 7:00 
GeneralRe: Avoiding Circular References with Application Architecture Pin
Jon Rista23-Jan-09 7:57
Jon Rista23-Jan-09 7:57 
QuestionRe: Avoiding Circular References with Application Architecture Pin
led mike23-Jan-09 9:19
led mike23-Jan-09 9:19 
AnswerRe: Avoiding Circular References with Application Architecture Pin
Jon Rista23-Jan-09 9:26
Jon Rista23-Jan-09 9:26 
GeneralRe: Avoiding Circular References with Application Architecture Pin
led mike23-Jan-09 10:53
led mike23-Jan-09 10:53 
GeneralRe: Avoiding Circular References with Application Architecture Pin
Jon Rista23-Jan-09 11:28
Jon Rista23-Jan-09 11:28 
GeneralRe: Avoiding Circular References with Application Architecture Pin
Leftyfarrell6-Feb-09 8:27
Leftyfarrell6-Feb-09 8:27 
QuestionDisign of Web service Pin
mpavas14-Jan-09 0:11
mpavas14-Jan-09 0:11 
AnswerRe: Disign of Web service Pin
Jonathan Davies14-Jan-09 5:25
Jonathan Davies14-Jan-09 5:25 
AnswerRe: Disign of Web service Pin
Moim Hossain22-Jan-09 23:43
Moim Hossain22-Jan-09 23:43 
GeneralRe: Disign of WIndows Service Pin
mpavas24-Jan-09 17:09
mpavas24-Jan-09 17:09 
QuestionDocumenting Design Pin
K. Shaffer13-Jan-09 14:13
K. Shaffer13-Jan-09 14:13 
AnswerRe: Documenting Design Pin
Pete O'Hanlon13-Jan-09 22:39
mvePete O'Hanlon13-Jan-09 22:39 
AnswerRe: Documenting Design Pin
CodingYoshi16-Jan-09 3:31
CodingYoshi16-Jan-09 3:31 

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.