Case Study from Ken Lunns Book - Software Development with UML A Case Study Stolen from Ken Lunn The...

Post on 11-Dec-2015

230 views 16 download

Tags:

transcript

Case Study from Ken Lunn’s Book - Software Development with UML

A Case Study Stolen from Ken Lunn

The Odd Shoe Company

Ken Lunn

Case Study from Ken Lunn’s Book - Software Development with UML

The Source

Beginnings of a Method

Soft Systems

Model

Case Study from Ken Lunn’s Book - Software Development with UML

Use case diagram for the Internet ordering system for the Odd Shoe Company

Case Study from Ken Lunn’s Book - Software Development with UML

Use case description for visiting the home page

Case Study from Ken Lunn’s Book - Software Development with UML

Odd Shoe Company home page

Case Study from Ken Lunn’s Book - Software Development with UML

Use case description for the browse catalogue use case

Case Study from Ken Lunn’s Book - Software Development with UML

The Odd Shoe Company top catalogue page, displaying styles

Case Study from Ken Lunn’s Book - Software Development with UML

The Odd Shoe Company – second level catalogue page, displaying summary for each shoe in style

Case Study from Ken Lunn’s Book - Software Development with UML

the Odd Shoe Company – detailed shoe page

Case Study from Ken Lunn’s Book - Software Development with UML

Use case description for View Shopping Basket use case

Case Study from Ken Lunn’s Book - Software Development with UML

Prototype screen for the Odd Shoe Company shopping basket

Case Study from Ken Lunn’s Book - Software Development with UML

Part of Use Case Diagram

visit home page

browse catalogue

view basket

order

customer

Case Study from Ken Lunn’s Book - Software Development with UML

Browse Catalogue Use Case

1. Customer selects catalogue from home page

2. A list of shoe styles with thumbnail pictures displayed

3. Customer selects a shoe style

4. List of shoes and prices displayed, with thumbnails of shoes

5. Customer selects a shoe

6. Large picture of shoe displayed, with a list of prices, sizes,

stock availability and colours

7. Customer fills in quantity, size, foot and colour

8. Customer clicks add to basket.

Case Study from Ken Lunn’s Book - Software Development with UML

Odd Shoe Company

: customer : Odd Shoe

Home Page

openCatalogue( )

1. Customer selects catalogue from home page

Case Study from Ken Lunn’s Book - Software Development with UML

Odd Shoe Company

: Odd Shoe

Home Page : Catalogue : shoe style

openCatalogue( )open( )

detDetails( )

format( )

2. A list of shoe styles with thumbnail pictures displayed

: customer

Case Study from Ken Lunn’s Book - Software Development with UML

Odd Shoe Company

3. Customer selects a shoe style

openCatalogue( )open( )

detDetails( )

format( )

selectStyle( )

: customer : Odd Shoe

Home Page : Catalogue : shoe style

Case Study from Ken Lunn’s Book - Software Development with UML

Odd Shoe Company

4. List of shoes and prices displayed, with thumbnails of shoes

: shoe

openCatalogue( )open( )

detDetails( )

format( )

selectStyle( )open( )

getSummary( )

format( )

: customer : Odd Shoe

Home Page : Catalogue : shoe style : Shoe Style

Page

Case Study from Ken Lunn’s Book - Software Development with UML

Odd Shoe Company

: shoe

openCatalogue( )open( )

detDetails( )

format( )

selectStyle( )open( )

getSummary( )

format( )

: customer : Odd Shoe

Home Page : Catalogue : shoe style : Shoe Style

Page

selectShoe( )

5. Customer selects a shoe

Case Study from Ken Lunn’s Book - Software Development with UML

Odd Shoe Company

: shoe

openCatalogue( )open( )

detDetails( )

format( )

selectStyle( )open( )

getSummary( )

format( )

: customer : Odd Shoe

Home Page : Catalogue : shoe style : Shoe Style

Page : Shoe Page

selectShoe( )open( )

getDetails( )format( )

6. Large picture of shoe displayed, with a list of prices, sizes, stock availability and colours

Case Study from Ken Lunn’s Book - Software Development with UML

Odd Shoe Company

: customer : Odd Shoe Home Page

: Catalogue : shoe style : shoe : Shoe Page : Shoe Style Page

openCatalogue( )open( )

detDetails( )

format( )

selectStyle( ) open( ) getSummary( )

format( )

selectShoe( )open( )

getDetails( )

format( )

enterDetails( )

7. Customer fills in quantity, size, foot and colour

Case Study from Ken Lunn’s Book - Software Development with UML

Odd Shoe Company

: shopping basket : customer

: Odd Shoe Home Page

: Catalogue : shoe style : shoe : Shoe Page : Shoe Style Page

openCatalogue( )open( ) detDetails( )

format( )

selectStyle( ) open( ) getSummary( )

format( )

selectShoe( )open( )

getDetails( )

format( )

addItem( )

enterDetails( )

addToBasket( )

8. Customer clicks add to basket.

Case Study from Ken Lunn’s Book - Software Development with UML

Analysis sequence diagram for the browse catalogue use case primary path (from book)

Case Study from Ken Lunn’s Book - Software Development with UML

Preliminary class diagram, showing the major entity objects and the attributes

Case Study from Ken Lunn’s Book - Software Development with UML

Class diagram showing the entity objects with operations and attributes

Case Study from Ken Lunn’s Book - Software Development with UML

Organization of the screens to support the browse catalogue use case, shown as a class diagram

Case Study from Ken Lunn’s Book - Software Development with UML

Screen navigation extended to show operations indicating what can be done in each screen

Case Study from Ken Lunn’s Book - Software Development with UML

Test plan for the primary path of the browse catalogue use case

Beginnings of a Method

Soft Systems

Model