Click here to Skip to main content
15,887,746 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionOOP Programming, Two approachs for a problem Pin
Quake2Player22-Mar-09 16:52
Quake2Player22-Mar-09 16:52 
AnswerRe: OOP Programming, Two approachs for a problem Pin
PIEBALDconsult22-Mar-09 17:45
mvePIEBALDconsult22-Mar-09 17:45 
AnswerRe: OOP Programming, Two approachs for a problem Pin
Jonathan Davies23-Mar-09 3:13
Jonathan Davies23-Mar-09 3:13 
GeneralRe: OOP Programming, Two approachs for a problem Pin
Quake2Player23-Mar-09 6:53
Quake2Player23-Mar-09 6:53 
GeneralRe: OOP Programming, Two approachs for a problem Pin
Jonathan Davies23-Mar-09 8:25
Jonathan Davies23-Mar-09 8:25 
GeneralRe: OOP Programming, Two approachs for a problem Pin
Quake2Player23-Mar-09 8:42
Quake2Player23-Mar-09 8:42 
GeneralRe: OOP Programming, Two approachs for a problem Pin
led mike23-Mar-09 8:31
led mike23-Mar-09 8:31 
AnswerRe: OOP Programming, Two approachs for a problem Pin
Quake2Player24-Mar-09 7:31
Quake2Player24-Mar-09 7:31 
For not making another topic, I have an encapsulation debate with myself:

Account contains List< Contact > and List< ContactGroup >, and methods to manage these..

How should I DECIDE if I should encapsulate all the contacts classes and methods in lets say an AddressBook class?

The same for other things contained in Account, like all concerning Messages: List< Labels >,List< Messages >, List< MessageThread > and methods..

My great question would be that if I have a lot of encapsulation, then I would have a lot of inbetween methods, from the main application to the object itself, like...
Application.AddLabelToMessage()
calling Account.AddLabelToMessage(msg, label)
calling MessageManagerOrSomething.AddLabelToMessage(msg, label)
calling certain Label as Label.AddMessage(msg)

Please have patience, i'm learning to model well (I know these can be done either way)

Again sorry bad eng.
GeneralRe: OOP Programming, Two approachs for a problem Pin
Jonathan Davies24-Mar-09 8:51
Jonathan Davies24-Mar-09 8:51 
Questioncomposite pattern serializing Pin
Jarno Burger20-Mar-09 13:18
Jarno Burger20-Mar-09 13:18 
AnswerRe: composite pattern serializing Pin
Jonathan Davies22-Mar-09 5:14
Jonathan Davies22-Mar-09 5:14 
QuestionObject Oriented Design - object graphs and lookup table data Pin
Leftyfarrell13-Mar-09 2:09
Leftyfarrell13-Mar-09 2:09 
AnswerRe: Object Oriented Design - object graphs and lookup table data Pin
led mike13-Mar-09 5:03
led mike13-Mar-09 5:03 
GeneralRe: Object Oriented Design - object graphs and lookup table data Pin
Leftyfarrell14-Mar-09 3:58
Leftyfarrell14-Mar-09 3:58 
QuestionEmpty abstract method override -- good or bad design? Pin
brontofuzik12-Mar-09 10:46
brontofuzik12-Mar-09 10:46 
AnswerRe: Empty abstract method override -- good or bad design? Pin
Luc Pattyn12-Mar-09 10:57
sitebuilderLuc Pattyn12-Mar-09 10:57 
AnswerRe: Empty abstract method override -- good or bad design? Pin
Mark Churchill12-Mar-09 14:39
Mark Churchill12-Mar-09 14:39 
GeneralRe: Empty abstract method override -- good or bad design? Pin
Luc Pattyn12-Mar-09 15:05
sitebuilderLuc Pattyn12-Mar-09 15:05 
GeneralRe: Empty abstract method override -- good or bad design? Pin
Mark Churchill12-Mar-09 15:14
Mark Churchill12-Mar-09 15:14 
QuestionTechnical Design vs. Implementation vs. Testing Pin
shakhtyor12-Mar-09 10:45
shakhtyor12-Mar-09 10:45 
AnswerRe: Technical Design vs. Implementation vs. Testing Pin
Perry Holman22-Apr-09 0:16
Perry Holman22-Apr-09 0:16 
AnswerRe: Technical Design vs. Implementation vs. Testing Pin
Robin_Roy23-Jul-09 16:38
Robin_Roy23-Jul-09 16:38 
QuestionLearning UML Pin
Brendan Vogt11-Mar-09 23:45
Brendan Vogt11-Mar-09 23:45 
AnswerRe: Learning UML Pin
User 171649212-Mar-09 0:17
professionalUser 171649212-Mar-09 0:17 
AnswerRe: Learning UML Pin
shakhtyor12-Mar-09 10:25
shakhtyor12-Mar-09 10:25 

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.