Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Structural Patterns - Composite
Search
Chris Bushell
July 01, 2009
Programming
1
43
Structural Patterns - Composite
Prepared for the Melbourne Patterns Group
Chris Bushell
July 01, 2009
Tweet
Share
More Decks by Chris Bushell
See All by Chris Bushell
Test Automation for Packaged Systems: Yes You Can!
cbushell
0
49
Introduction to Pair Programming
cbushell
1
100
An Introduction to BDD
cbushell
5
160
An Introduction to HTTP
cbushell
2
120
Agile Test Automation
cbushell
2
170
Working Effectively With Legacy Code
cbushell
4
240
Jasmine, BDD for JavaScript
cbushell
1
110
Branches Are For Trees. How to Develop Software Without Them
cbushell
1
92
State Pattern From GoF
cbushell
1
55
Other Decks in Programming
See All in Programming
戦略的DDDは重いのか? / Is strategic DDD heavy?
pictiny
3
2.1k
Go製Webアプリケーションのエラーとの向き合い方大全、あるいはやっぱりスタックトレース欲しいやん / Kyoto.go #50
utgwkk
6
2k
TypeScript 関数型スタイルでバックエンド開発のリアル
naoya
49
16k
Sheets API使ってみた
toshi0383
2
180
WinActorの勉強を継続する方法
tamai_63
0
130
2024 コーディング研修
ckazu
2
650
Timeline エディター拡張入門
yucchiy
0
450
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
74k
Three ways to use AI on Android: The Good, the Bad and the Ugly
marxallski
0
120
“Seeing Like a Programmer”—Resiliency, Limits, and Moral Hazards in Software Engineering (LambdaConf 2024)
chriskrycho
0
430
『WordPressコミュニティで学ぶ』OSS貢献の多様性
ippey
0
200
AmperとFleetを使ったAndroidアプリ
yoppie
0
300
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
21
1.6k
Into the Great Unknown - MozCon
thekraken
15
1.1k
Ruby is Unlike a Banana
tanoku
96
10k
Imperfection Machines: The Place of Print at Facebook
scottboms
261
12k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
jQuery: Nuts, Bolts and Bling
dougneiner
60
7.2k
A better future with KSS
kneath
231
16k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
21
2k
How GitHub (no longer) Works
holman
305
140k
Done Done
chrislema
178
15k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Docker and Python
trallard
35
2.7k
Transcript
Structural Pa*erns -‐ Composite Melbourne Pa*erns Group July 1
2009 Chris Bushell
Intent Allow clients to treat primiBve objects and
containers in the same way
Graphics Example • Line • Rectangle •
Text etc.
Graphics Example ConBnued Graphic Line
Rectangle Picture Line Rectangle
Recursive ComposiBon
Puzzle Example
ParBcipants • Component • Leaf • Composite
ParBcipants
Code