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
Go言語はstack overflowの夢を見るか?
logica0419
0
520
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
890
EMこそClaude Codeでコード調査しよう
shibayu36
0
370
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
110
One Enishi After Another
snoozer05
PRO
0
150
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
450
Ktorで簡単AIアプリケーション
tsukakei
0
100
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
190
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
190
技術的負債の正体を知って向き合う
irof
0
240
フロントエンド開発のためのブラウザ組み込みAI入門
masashi
7
3.5k
CSC305 Lecture 10
javiergs
PRO
0
230
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
Code Review Best Practice
trishagee
72
19k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Why Our Code Smells
bkeepers
PRO
340
57k
Producing Creativity
orderedlist
PRO
347
40k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
The Illustrated Children's Guide to Kubernetes
chrisshort
49
51k
Speed Design
sergeychernyshev
32
1.2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
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