SlideShare une entreprise Scribd logo
1  sur  27
Télécharger pour lire hors ligne
UML CLASS DIAGRAMS
ARE AWESOME
THEY’RE SIMPLE
AND EASY TO MAKE
ALL YOU NEED ARE
RECTANGLES AND ARROWS
UP TO 3 RECTANGLES
CAN REPRESENT A CLASS
PUT YOUR CLASS NAME
IN THE FIRST RECTANGLE
MyClass
YOUR VARIABLES
IN THE SECOND RECTANGLE
MyClass
myVariable: String
AND YOUR METHODS
IN THE THIRD RECTANGLE
MyClass
myMethod(): String
myVariable: String
YOU CAN ASSOCIATE
A CLASS TO ANOTHER
WITH A DASHED OPEN ARROW
MyClass
myVariable: MyOtherClass
myMethod(): String
MyOtherClass
myVariable: String
anotherMethod()
<< uses >>
YOU CAN
INHERIT
FROM A CLASS
WITH A CLOSED
ARROW
MyChild
myVariable: String
myMethod()
MyParent
myMethod()
DO YOU
REALLY NEED
TO INHERIT
FROM A CLASS?
!
REALLY?
CAN’T YOU JUST USE AN
ASSOCIATION INSTEAD?
ALWAYS FAVOR
ASSOCIATION
OVER
INHERITANCE
BUT WHEN YOU DO USE
INHERITANCE, REMEMBER…
THE RELATION IS NOT “IS A”
BUT “CAN REPLACE”
DON’T USE POLYMORPHISM
TO CHANGE STRUCTURE!
USE IT TO CHANGE BEHAVIOR
WITH GREAT POWER
COMES GREAT
RESPONSIBILITIES
GREAT UML
CLASS DIAGRAMS …
ARE SHORT
THEY COMMUNICATE
A SINGLE
AND IMPORTANT
CONCEPT
THEY ARE NOT DETAILED
PROGRAMMING
INSTRUCTIONS
WORRY ABOUT
COMMUNICATION
LET THE PROGRAMMER
FILL IN THE DETAILS
ALWAYS INCLUDE A LITTLE TEXT
EXPLAINING WHAT YOU WANT
TO COMMUNICATE
AND ALWAYS KEEP IN MIND…
UML DOES NOT COMPILE
UML DOES NOT CRASH
GOOD LUCK
MODELLING SOFTWARE

Contenu connexe

Tendances

5.1 Finding Slope
5.1 Finding Slope5.1 Finding Slope
5.1 Finding Slopeguest7985b1
 
February 10, 2014
February 10, 2014February 10, 2014
February 10, 2014khyps13
 
Inverse of a Matrix
Inverse of a MatrixInverse of a Matrix
Inverse of a MatrixYashh Pandya
 
Divergent series+english 1+2+3+4+....= 1/12
Divergent series+english 1+2+3+4+....= 1/12Divergent series+english 1+2+3+4+....= 1/12
Divergent series+english 1+2+3+4+....= 1/12Eugen Zaharescu
 
Graphing sytems inequalities
Graphing sytems inequalitiesGraphing sytems inequalities
Graphing sytems inequalitiesRamón Zurita
 
Graphing sytems inequalities
Graphing sytems inequalitiesGraphing sytems inequalities
Graphing sytems inequalitiesJessica Garcia
 
Solving Systems by Graphing
Solving Systems by GraphingSolving Systems by Graphing
Solving Systems by GraphingBitsy Griffin
 
Solving linear equations in two
Solving linear equations in twoSolving linear equations in two
Solving linear equations in twomstf mstf
 
Properties of determinations
Properties of determinationsProperties of determinations
Properties of determinationsMarwanHisham5
 
February 17 2015
February 17 2015February 17 2015
February 17 2015khyps13
 
Parallel and perpendicular lines
Parallel and perpendicular linesParallel and perpendicular lines
Parallel and perpendicular linesJessica Garcia
 
Lesson 1B - Graphs and equality
Lesson 1B -  Graphs and equalityLesson 1B -  Graphs and equality
Lesson 1B - Graphs and equalityJonathan Templin
 
Feb. 4, 2014
Feb. 4, 2014Feb. 4, 2014
Feb. 4, 2014khyps13
 
January 16, 2014
January 16, 2014January 16, 2014
January 16, 2014khyps13
 
Parallel and Perpendicular lines
Parallel and Perpendicular linesParallel and Perpendicular lines
Parallel and Perpendicular linestoni dimella
 

Tendances (19)

Monjir ul-morsalin- 171-15-9421
Monjir ul-morsalin- 171-15-9421Monjir ul-morsalin- 171-15-9421
Monjir ul-morsalin- 171-15-9421
 
5.1 Finding Slope
5.1 Finding Slope5.1 Finding Slope
5.1 Finding Slope
 
February 10, 2014
February 10, 2014February 10, 2014
February 10, 2014
 
Inverse of a Matrix
Inverse of a MatrixInverse of a Matrix
Inverse of a Matrix
 
Divergent series+english 1+2+3+4+....= 1/12
Divergent series+english 1+2+3+4+....= 1/12Divergent series+english 1+2+3+4+....= 1/12
Divergent series+english 1+2+3+4+....= 1/12
 
Graphing sytems inequalities
Graphing sytems inequalitiesGraphing sytems inequalities
Graphing sytems inequalities
 
3 handouts section3-11
3 handouts section3-113 handouts section3-11
3 handouts section3-11
 
Graphing sytems inequalities
Graphing sytems inequalitiesGraphing sytems inequalities
Graphing sytems inequalities
 
Solving Systems by Graphing
Solving Systems by GraphingSolving Systems by Graphing
Solving Systems by Graphing
 
Solving linear equations in two
Solving linear equations in twoSolving linear equations in two
Solving linear equations in two
 
How to
How toHow to
How to
 
Rank of a matrix
Rank of a matrixRank of a matrix
Rank of a matrix
 
Properties of determinations
Properties of determinationsProperties of determinations
Properties of determinations
 
February 17 2015
February 17 2015February 17 2015
February 17 2015
 
Parallel and perpendicular lines
Parallel and perpendicular linesParallel and perpendicular lines
Parallel and perpendicular lines
 
Lesson 1B - Graphs and equality
Lesson 1B -  Graphs and equalityLesson 1B -  Graphs and equality
Lesson 1B - Graphs and equality
 
Feb. 4, 2014
Feb. 4, 2014Feb. 4, 2014
Feb. 4, 2014
 
January 16, 2014
January 16, 2014January 16, 2014
January 16, 2014
 
Parallel and Perpendicular lines
Parallel and Perpendicular linesParallel and Perpendicular lines
Parallel and Perpendicular lines
 

Plus de Luc Trudeau

Revue de l'année 2019 dans le monde des codecs videos
Revue de l'année 2019 dans le monde des codecs videosRevue de l'année 2019 dans le monde des codecs videos
Revue de l'année 2019 dans le monde des codecs videosLuc Trudeau
 
I don’t care if you have 360 Intra directional predictors
I don’t care if you have 360 Intra directional predictorsI don’t care if you have 360 Intra directional predictors
I don’t care if you have 360 Intra directional predictorsLuc Trudeau
 
Les technologies actuelles et futures de l'ott
Les technologies actuelles et futures de l'ottLes technologies actuelles et futures de l'ott
Les technologies actuelles et futures de l'ottLuc Trudeau
 
Chroma from Luma Intra Prediction for AV1
Chroma from Luma Intra Prediction for AV1Chroma from Luma Intra Prediction for AV1
Chroma from Luma Intra Prediction for AV1Luc Trudeau
 
Chroma From Luma Status Update
Chroma From Luma Status UpdateChroma From Luma Status Update
Chroma From Luma Status UpdateLuc Trudeau
 
ML2 et le Codetributhon
ML2 et le CodetributhonML2 et le Codetributhon
ML2 et le CodetributhonLuc Trudeau
 
HTTP Long Polling is awesome
HTTP Long Polling is awesomeHTTP Long Polling is awesome
HTTP Long Polling is awesomeLuc Trudeau
 
Inverting Dependencies
Inverting DependenciesInverting Dependencies
Inverting DependenciesLuc Trudeau
 
Orchestre de services
Orchestre de servicesOrchestre de services
Orchestre de servicesLuc Trudeau
 
Architecture vs Design
Architecture vs DesignArchitecture vs Design
Architecture vs DesignLuc Trudeau
 

Plus de Luc Trudeau (11)

Revue de l'année 2019 dans le monde des codecs videos
Revue de l'année 2019 dans le monde des codecs videosRevue de l'année 2019 dans le monde des codecs videos
Revue de l'année 2019 dans le monde des codecs videos
 
I don’t care if you have 360 Intra directional predictors
I don’t care if you have 360 Intra directional predictorsI don’t care if you have 360 Intra directional predictors
I don’t care if you have 360 Intra directional predictors
 
Les technologies actuelles et futures de l'ott
Les technologies actuelles et futures de l'ottLes technologies actuelles et futures de l'ott
Les technologies actuelles et futures de l'ott
 
Chroma from Luma Intra Prediction for AV1
Chroma from Luma Intra Prediction for AV1Chroma from Luma Intra Prediction for AV1
Chroma from Luma Intra Prediction for AV1
 
Chroma From Luma Status Update
Chroma From Luma Status UpdateChroma From Luma Status Update
Chroma From Luma Status Update
 
ML2 et le Codetributhon
ML2 et le CodetributhonML2 et le Codetributhon
ML2 et le Codetributhon
 
HTTP Long Polling is awesome
HTTP Long Polling is awesomeHTTP Long Polling is awesome
HTTP Long Polling is awesome
 
Inverting Dependencies
Inverting DependenciesInverting Dependencies
Inverting Dependencies
 
Orchestre de services
Orchestre de servicesOrchestre de services
Orchestre de services
 
HTTP et REST
HTTP et RESTHTTP et REST
HTTP et REST
 
Architecture vs Design
Architecture vs DesignArchitecture vs Design
Architecture vs Design
 

Dernier

Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 

Dernier (20)

Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 

UML Class Diagrams are Awesome