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

Design and Architecture

 
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 
GeneralRe: Unity Pin
Luc Pattyn11-Jun-08 10:27
sitebuilderLuc Pattyn11-Jun-08 10:27 
GeneralRe: Unity Pin
Pete O'Hanlon11-Jun-08 10:52
mvePete O'Hanlon11-Jun-08 10:52 
QuestionPost-hoc unit testing, and increasing the unit test coverage rate? Pin
Philip Laureano5-Jun-08 13:51
Philip Laureano5-Jun-08 13:51 
AnswerRe: Post-hoc unit testing, and increasing the unit test coverage rate? Pin
led mike6-Jun-08 4:34
led mike6-Jun-08 4:34 
RantRe: Post-hoc unit testing, and increasing the unit test coverage rate? Pin
Philip Laureano6-Jun-08 5:03
Philip Laureano6-Jun-08 5:03 
GeneralRe: Post-hoc unit testing, and increasing the unit test coverage rate? Pin
Pete O'Hanlon6-Jun-08 8:25
mvePete O'Hanlon6-Jun-08 8:25 
GeneralRe: Post-hoc unit testing, and increasing the unit test coverage rate? Pin
Roger Alsing8-Jun-08 22:34
Roger Alsing8-Jun-08 22:34 
QuestionArchitecture vs TDD Pin
Nathan Gloyn5-Jun-08 9:58
Nathan Gloyn5-Jun-08 9:58 
GeneralRe: Architecture vs TDD Pin
stavinski6-Jun-08 10:37
stavinski6-Jun-08 10:37 
GeneralRe: Architecture vs TDD Pin
Nathan Gloyn8-Jun-08 8:54
Nathan Gloyn8-Jun-08 8:54 
GeneralRe: Architecture vs TDD Pin
Pete O'Hanlon8-Jun-08 8:58
mvePete O'Hanlon8-Jun-08 8:58 
GeneralRe: Architecture vs TDD Pin
Nathan Gloyn8-Jun-08 9:33
Nathan Gloyn8-Jun-08 9:33 
GeneralRe: Architecture vs TDD Pin
Pete O'Hanlon8-Jun-08 10:16
mvePete O'Hanlon8-Jun-08 10:16 

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.