Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples...
-
Upload
joleen-berry -
Category
Documents
-
view
213 -
download
0
Transcript of Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples...
![Page 1: Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples – Alan Holub’s UML reference card – Use library resources.](https://reader036.fdocuments.net/reader036/viewer/2022071805/56649cea5503460f949b4dfc/html5/thumbnails/1.jpg)
Chap 1
• UML vs Thinking in Objects!– Visual modeling
• Learning UML– Look at the book examples– Alan Holub’s UML reference card– Use library resources
![Page 2: Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples – Alan Holub’s UML reference card – Use library resources.](https://reader036.fdocuments.net/reader036/viewer/2022071805/56649cea5503460f949b4dfc/html5/thumbnails/2.jpg)
Fig. 1.1
Topics and Skills
UML notation
Requirements analysis
Principles and guidelines
Patterns
Iterative development with an agile Unified
Process
OOA/D
![Page 3: Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples – Alan Holub’s UML reference card – Use library resources.](https://reader036.fdocuments.net/reader036/viewer/2022071805/56649cea5503460f949b4dfc/html5/thumbnails/3.jpg)
Object Design
• Responsibilities– Assigning responsibilities to objects!
• Patterns
![Page 4: Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples – Alan Holub’s UML reference card – Use library resources.](https://reader036.fdocuments.net/reader036/viewer/2022071805/56649cea5503460f949b4dfc/html5/thumbnails/4.jpg)
OOAD
• OO Analysis – find and describe objects– Concepts from the domain
• OO Design– Define software objects (classes)
• Implementation– Make design concrete in a programming langauge
![Page 5: Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples – Alan Holub’s UML reference card – Use library resources.](https://reader036.fdocuments.net/reader036/viewer/2022071805/56649cea5503460f949b4dfc/html5/thumbnails/5.jpg)
Use Cases
• Describe in text• Interaction of a user and the system• Be careful of implementation vs specification!
![Page 6: Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples – Alan Holub’s UML reference card – Use library resources.](https://reader036.fdocuments.net/reader036/viewer/2022071805/56649cea5503460f949b4dfc/html5/thumbnails/6.jpg)
UML
• UML as a sketch• UML as a blueprint• UML as a programming language
![Page 7: Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples – Alan Holub’s UML reference card – Use library resources.](https://reader036.fdocuments.net/reader036/viewer/2022071805/56649cea5503460f949b4dfc/html5/thumbnails/7.jpg)
Fig. 1.4
![Page 8: Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples – Alan Holub’s UML reference card – Use library resources.](https://reader036.fdocuments.net/reader036/viewer/2022071805/56649cea5503460f949b4dfc/html5/thumbnails/8.jpg)
UML Prespectives
• Conceptual– Real world concepts– Domain model
• Specification• Implementation
– Both of these deal with software
![Page 9: Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples – Alan Holub’s UML reference card – Use library resources.](https://reader036.fdocuments.net/reader036/viewer/2022071805/56649cea5503460f949b4dfc/html5/thumbnails/9.jpg)
Fig. 1.5
2
Die
faceValue : int
getFaceValue() : introll()
DiceGame
die1 : Diedie2 : Die
play()
1
![Page 10: Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples – Alan Holub’s UML reference card – Use library resources.](https://reader036.fdocuments.net/reader036/viewer/2022071805/56649cea5503460f949b4dfc/html5/thumbnails/10.jpg)
Fig. 1.6Conceptual Perspective
(domain model)
Raw UML class diagram notation used to visualize real-world concepts.
Specification or Implementation
Perspective(design class diagram)
Raw UML class diagram notation used to visualize software elements.
2
Die
faceValue : int
getFaceValue() : introll()
DiceGame
die1 : Diedie2 : Die
play()
DiceGame Die
faceValue
Includes 21