Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Structural Patterns - Composite
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Chris Bushell
July 01, 2009
Programming
79
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Structural Patterns - Composite
Prepared for the Melbourne Patterns Group
Chris Bushell
July 01, 2009
Transcript
9 slides
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
More Decks by Chris Bushell
See All by Chris Bushell
Test Automation for Packaged Systems: Yes You Can!
cbushell
0
110
Introduction to Pair Programming
cbushell
1
160
An Introduction to BDD
cbushell
5
200
An Introduction to HTTP
cbushell
2
180
Agile Test Automation
cbushell
2
210
Working Effectively With Legacy Code
cbushell
4
280
Jasmine, BDD for JavaScript
cbushell
1
150
Branches Are For Trees. How to Develop Software Without Them
cbushell
1
140
State Pattern From GoF
cbushell
1
93
Other Decks in Programming
See All in Programming
Lean で手続き的プログラム の証明が書けるようになった
inoueasei
11
5.8k
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
870
Datadog を OTel にするメリットを考察する — Datadog との併用を実アプリで確かめる / Examining the Benefits of Moving Datadog to OTel — Testing OTel Alongside Datadog in a Real App
seike460
PRO
1
120
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
360
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
320
エージェントの管理もエージェントに – herdr-core と自作バックログで作る司令塔 –
nearme_tech
PRO
2
180
JavaScriptはシングルバイナリの夢を見るか / Does JavaScript Dream of a Single Binary?
ssssota
1
1.3k
LambdaなのにVM?Lambda MicroVMsを調べてみた / About Lambda Micro VMs
ak2ie
2
110
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
240
R言語プログラミング
profjoesuzuki
0
150
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
470
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
190
Featured
See All Featured
Marketing to machines
jonoalderson
1
6k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
43k
Rails Girls Zürich Keynote
gr2m
96
14k
Accessibility Awareness
sabderemane
1
320
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
How GitHub (no longer) Works
holman
316
150k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
850
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
490
Writing Fast Ruby
sferik
630
63k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k