Click here to Skip to main content
16,007,932 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Pattern for Shared Dropdown Tables Pin
led mike12-Jun-08 5:40
led mike12-Jun-08 5:40 
GeneralRe: Pattern for Shared Dropdown Tables Pin
Brady Kelly12-Jun-08 5:53
Brady Kelly12-Jun-08 5:53 
GeneralRe: Pattern for Shared Dropdown Tables Pin
Pete O'Hanlon12-Jun-08 9:23
mvePete O'Hanlon12-Jun-08 9:23 
GeneralRe: Pattern for Shared Dropdown Tables Pin
Brady Kelly13-Jun-08 1:59
Brady Kelly13-Jun-08 1:59 
GeneralRe: Pattern for Shared Dropdown Tables Pin
led mike13-Jun-08 5:09
led mike13-Jun-08 5:09 
GeneralRe: Pattern for Shared Dropdown Tables Pin
Brady Kelly13-Jun-08 8:08
Brady Kelly13-Jun-08 8:08 
GeneralRe: Pattern for Shared Dropdown Tables Pin
Joe DiNatale12-Jun-08 6:17
Joe DiNatale12-Jun-08 6:17 
GeneralRe: Pattern for Shared Dropdown Tables Pin
led mike13-Jun-08 5:06
led mike13-Jun-08 5:06 
GeneralRe: Pattern for Shared Dropdown Tables Pin
Mark Churchill15-Jun-08 20:22
Mark Churchill15-Jun-08 20:22 
QuestionHow to design an application to handle versioning issues? Pin
nrj2311-Jun-08 23:12
nrj2311-Jun-08 23:12 
AnswerRe: How to design an application to handle versioning issues? Pin
Ashfield13-Jun-08 2:29
Ashfield13-Jun-08 2:29 
QuestionDelete - Undo Pin
dabs10-Jun-08 14:43
dabs10-Jun-08 14:43 
AnswerRe: Delete - Undo Pin
led mike11-Jun-08 4:45
led mike11-Jun-08 4:45 
QuestionProtocol for communicating over socket ? Pin
Noctris10-Jun-08 12:24
Noctris10-Jun-08 12:24 
AnswerRe: Protocol for communicating over socket ? Pin
Ray Cassick10-Jun-08 13:51
Ray Cassick10-Jun-08 13:51 
QuestionRe: Protocol for communicating over socket ? Pin
Noctris10-Jun-08 23:04
Noctris10-Jun-08 23:04 
AnswerRe: Protocol for communicating over socket ? Pin
led mike11-Jun-08 4:30
led mike11-Jun-08 4:30 
QuestionCreating controls on the fly approach???? Pin
rulllesss8-Jun-08 22:27
rulllesss8-Jun-08 22:27 
AnswerRe: Creating controls on the fly approach???? Pin
led mike10-Jun-08 4:27
led mike10-Jun-08 4:27 
QuestionObject Orientated Programming - Association,Composition and Aggregation (Multiple Languages) Pin
Tom Moore7-Jun-08 11:06
Tom Moore7-Jun-08 11:06 
AnswerRe: Object Orientated Programming - Association,Composition and Aggregation (Multiple Languages) Pin
stavinski8-Jun-08 0:30
stavinski8-Jun-08 0:30 
AFAIK association encompasses both aggregation & composition, the difference between composition and aggregation is that with composition when the containing object goes out of scope then so is the composed object for example a car is composed of an engine once the car goes out of scope the engine goes with it.

In contrast aggregation means that the even when the containing object goes out of scope the aggregated object still remains for example a car could have a driver if the car goes out of scope this doesnt mean that the driver object will.

It really boils down to whether the object in the contained object is created inside or passed in, your Boy example is Aggregation as the Toy is passed in, and the Bank example is composition as the Branches are created internally

hope this helps Smile | :)
GeneralRe: Object Orientated Programming - Association,Composition and Aggregation (Multiple Languages) Pin
Member 276708410-Jun-08 3:10
Member 276708410-Jun-08 3:10 
GeneralRe: Object Orientated Programming - Association,Composition and Aggregation (Multiple Languages) Pin
Hasan Jaffal17-Jun-08 3:42
Hasan Jaffal17-Jun-08 3:42 
GeneralUnity Pin
Brady Kelly6-Jun-08 2:20
Brady Kelly6-Jun-08 2:20 
JokeRe: Unity Pin
Pete O'Hanlon6-Jun-08 4:00
mvePete O'Hanlon6-Jun-08 4:00 

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.