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
52
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
61
Introduction to Pair Programming
cbushell
1
120
An Introduction to BDD
cbushell
5
160
An Introduction to HTTP
cbushell
2
130
Agile Test Automation
cbushell
2
170
Working Effectively With Legacy Code
cbushell
4
250
Jasmine, BDD for JavaScript
cbushell
1
120
Branches Are For Trees. How to Develop Software Without Them
cbushell
1
110
State Pattern From GoF
cbushell
1
65
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
220
Claude Agent SDK を使ってみよう
hyshu
0
1.4k
CSC509 Lecture 07
javiergs
PRO
0
240
contribution to astral-sh/uv
shunsock
0
530
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
7
5k
Go言語の特性を活かした公式MCP SDKの設計
hond0413
1
490
AI 駆動開発におけるコミュニティと AWS CDK の価値
konokenj
5
230
Android16 Migration Stories ~Building a Pattern for Android OS upgrades~
reoandroider
0
130
Cursorハンズオン実践!
eltociear
2
1.2k
iOSでSVG画像を扱う
kishikawakatsumi
0
160
Migration to Signals, Resource API, and NgRx Signal Store
manfredsteyer
PRO
0
110
他言語経験者が Golangci-lint を最初のコーディングメンターにした話 / How Golangci-lint Became My First Coding Mentor: A Story from a Polyglot Programmer
uma31
0
340
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Practical Orchestrator
shlominoach
190
11k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Writing Fast Ruby
sferik
630
62k
Code Reviewing Like a Champion
maltzj
526
40k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
990
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Building Applications with DynamoDB
mza
96
6.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