Click here to Skip to main content
15,346,290 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Architecture 101.... Pin
led mike11-Mar-08 7:58
Memberled mike11-Mar-08 7:58 
GeneralRe: Architecture 101.... Pin
daniel.byrne11-Mar-08 8:06
Memberdaniel.byrne11-Mar-08 8:06 
GeneralRe: Architecture 101.... Pin
Scott Dorman11-Mar-08 8:20
professionalScott Dorman11-Mar-08 8:20 
GeneralRe: Architecture 101.... Pin
led mike11-Mar-08 8:56
Memberled mike11-Mar-08 8:56 
RantRe: Architecture 101.... Pin
jtvberg11-Apr-08 10:11
Memberjtvberg11-Apr-08 10:11 
GeneralRe: Architecture 101.... Pin
Pete O'Hanlon11-Mar-08 11:17
mvaPete O'Hanlon11-Mar-08 11:17 
GeneralClass Design Help Pin
mark_w_4-Mar-08 22:27
Membermark_w_4-Mar-08 22:27 
GeneralRe: Class Design Help Pin
Steven Campbell5-Mar-08 10:31
MemberSteven Campbell5-Mar-08 10:31 
Its hard to understand your question, because both the word "client" and "delegate" have lots of meanings. But I think I understand.

You have a master-detail (one-to-many) relationship between clients and delegates, and you want to have a client object with a property that contains a collection of delegate objects. Each delegate object will have a property reference back to a client object.

The simple solution is to use lazy-load properties. (Have the necessary properties, but only instantiate the actual objects the first time the properties are used). This prevents the "loop" scenario you mention.

If it is a small .NET app, then you could consider using Castle ActiveRecord, which will do this for you. (Or any OR-Mapper will also do it).


GeneralRe: Class Design Help Pin
mark_w_5-Mar-08 22:36
Membermark_w_5-Mar-08 22:36 
QuestionGenral architecture question. Pin
joysnlove3-Mar-08 14:06
Memberjoysnlove3-Mar-08 14:06 
GeneralRe: Genral architecture question. [modified] Pin
mark_w_4-Mar-08 22:36
Membermark_w_4-Mar-08 22:36 
GeneralRe: Genral architecture question. Pin
Pete O'Hanlon5-Mar-08 1:04
mvaPete O'Hanlon5-Mar-08 1:04 
GeneralManaging Application ImageLists Pin
Tristan Rhodes3-Mar-08 2:05
MemberTristan Rhodes3-Mar-08 2:05 
GeneralRe: Managing Application ImageLists Pin
Pete O'Hanlon3-Mar-08 3:44
mvaPete O'Hanlon3-Mar-08 3:44 
GeneralRe: Managing Application ImageLists Pin
Tristan Rhodes3-Mar-08 4:25
MemberTristan Rhodes3-Mar-08 4:25 
GeneralRe: Managing Application ImageLists Pin
Pete O'Hanlon3-Mar-08 4:51
mvaPete O'Hanlon3-Mar-08 4:51 
GeneralClient / Server Design Pin
Member 368144327-Feb-08 23:34
MemberMember 368144327-Feb-08 23:34 
GeneralRe: Client / Server Design Pin
Pete O'Hanlon28-Feb-08 4:48
mvaPete O'Hanlon28-Feb-08 4:48 
GeneralRe: Client / Server Design Pin
led mike28-Feb-08 5:15
Memberled mike28-Feb-08 5:15 
GeneralRe: Client / Server Design Pin
Paul Conrad29-Feb-08 7:33
professionalPaul Conrad29-Feb-08 7:33 
AnswerRe: Client / Server Design Pin
Steven Campbell5-Mar-08 10:10
MemberSteven Campbell5-Mar-08 10:10 
GeneralObject level isolation than locking Pin
sreejith ss nair26-Feb-08 21:07
Membersreejith ss nair26-Feb-08 21:07 
GeneralRe: Object level isolation than locking Pin
Pete O'Hanlon26-Feb-08 22:42
mvaPete O'Hanlon26-Feb-08 22:42 
GeneralRe: Object level isolation than locking Pin
sreejith ss nair26-Feb-08 22:53
Membersreejith ss nair26-Feb-08 22:53 
GeneralRe: Object level isolation than locking Pin
Pete O'Hanlon26-Feb-08 22:57
mvaPete O'Hanlon26-Feb-08 22:57 

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.