Click here to Skip to main content
15,897,371 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Pros and Cons of 3-Tier architecture Pin
riced28-Apr-09 0:23
riced28-Apr-09 0:23 
QuestionConsole applications, any tips? Pin
Quake2Player21-Apr-09 11:39
Quake2Player21-Apr-09 11:39 
QuestionOOAD Books Pin
mpavas20-Apr-09 18:28
mpavas20-Apr-09 18:28 
QuestionProject documentation Pin
yesu prakash19-Apr-09 22:40
yesu prakash19-Apr-09 22:40 
QuestionManaging software complexity Pin
MidwestLimey17-Apr-09 4:33
professionalMidwestLimey17-Apr-09 4:33 
AnswerRe: Managing software complexity Pin
led mike17-Apr-09 4:59
led mike17-Apr-09 4:59 
AnswerRe: Managing software complexity Pin
riced17-Apr-09 6:15
riced17-Apr-09 6:15 
QuestionAvoiding cycles with interfaces [modified] Pin
Quake2Player15-Apr-09 12:06
Quake2Player15-Apr-09 12:06 
Hello,

I have a situation where I have a cycle:
Group <>---- Contact
..........-----<>

I have the class Contact which has name (eg. John), addr, etc.
And the class Group which has a name (eg. Friends) and a list of contacts List<contact>

The thing is that I want the Contact to know what groups contain him
For example lets say I have the groups Family, Friends, Job and they all contain John (and others)
I want that these groups contain John and that John knows he is member of these groups.

I want to avoid the cycle,
Should I use an Interface? or maybe other solution?

modified on Wednesday, April 15, 2009 6:14 PM

AnswerRe: Avoiding cycles with interfaces Pin
Quake2Player16-Apr-09 14:49
Quake2Player16-Apr-09 14:49 
AnswerRe: Avoiding cycles with interfaces Pin
Luc Pattyn16-Apr-09 15:25
sitebuilderLuc Pattyn16-Apr-09 15:25 
GeneralRe: Avoiding cycles with interfaces Pin
Quake2Player16-Apr-09 16:04
Quake2Player16-Apr-09 16:04 
GeneralRe: Avoiding cycles with interfaces [modified] Pin
Luc Pattyn16-Apr-09 16:13
sitebuilderLuc Pattyn16-Apr-09 16:13 
GeneralRe: Avoiding cycles with interfaces Pin
CodingYoshi27-May-09 3:41
CodingYoshi27-May-09 3:41 
AnswerRe: Avoiding cycles with interfaces Pin
Keld Ølykke9-Jun-09 4:48
Keld Ølykke9-Jun-09 4:48 
QuestionLooking for Suggetions Pin
FISH7868-Apr-09 12:58
FISH7868-Apr-09 12:58 
AnswerRe: Looking for Suggetions Pin
Luc Pattyn8-Apr-09 13:32
sitebuilderLuc Pattyn8-Apr-09 13:32 
GeneralRe: Looking for Suggetions Pin
FISH7868-Apr-09 14:43
FISH7868-Apr-09 14:43 
GeneralRe: Looking for Suggetions Pin
Luc Pattyn8-Apr-09 14:53
sitebuilderLuc Pattyn8-Apr-09 14:53 
GeneralRe: Looking for Suggetions Pin
FISH7868-Apr-09 15:06
FISH7868-Apr-09 15:06 
GeneralRe: Looking for Suggetions Pin
pxmedia10-Apr-09 2:47
pxmedia10-Apr-09 2:47 
QuestionIE6 and IE7 problem Pin
anujbanka17842-Apr-09 20:56
anujbanka17842-Apr-09 20:56 
Questionmaking a new file extension Pin
moonshaddow2-Apr-09 17:27
moonshaddow2-Apr-09 17:27 
AnswerRe: making a new file extension Pin
Roger Wright2-Apr-09 19:23
professionalRoger Wright2-Apr-09 19:23 
GeneralRe: making a new file extension Pin
moonshaddow2-Apr-09 19:46
moonshaddow2-Apr-09 19:46 
GeneralRe: making a new file extension Pin
dybs15-Apr-09 14:41
dybs15-Apr-09 14:41 

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.