Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples...

Post on 17-Dec-2015

213 views 0 download

Transcript of Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples...

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

Fig. 1.1

Topics and Skills

UML notation

Requirements analysis

Principles and guidelines

Patterns

Iterative development with an agile Unified

Process

OOA/D

Object Design

• Responsibilities– Assigning responsibilities to objects!

• Patterns

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

Use Cases

• Describe in text• Interaction of a user and the system• Be careful of implementation vs specification!

UML

• UML as a sketch• UML as a blueprint• UML as a programming language

Fig. 1.4

UML Prespectives

• Conceptual– Real world concepts– Domain model

• Specification• Implementation

– Both of these deal with software

Fig. 1.5

2

Die

faceValue : int

getFaceValue() : introll()

DiceGame

die1 : Diedie2 : Die

play()

1

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