Requirements Models to Architectural Design Models: A Simple Library Example - PowerPoint PPT Presentation

About This Presentation
Title:

Requirements Models to Architectural Design Models: A Simple Library Example

Description:

Requirements Models to Architectural Design Models: A Simple Library Example Robert France Colorado State University What is architectural design? – PowerPoint PPT presentation

Number of Views:81
Avg rating:3.0/5.0
Slides: 14
Provided by: france
Category:

less

Transcript and Presenter's Notes

Title: Requirements Models to Architectural Design Models: A Simple Library Example


1
Requirements Models to Architectural Design
Models A Simple Library Example
  • Robert France
  • Colorado State University

2
What is architectural design?
  • Concerned with identifying subsystems and their
    relationships
  • Architectural design is an example of
    programming-in-the-large
  • Basic element of construction is a subsystem or
    layer or system component (unlike
    programming-in-the-small where the basic unit of
    construction is a statement in a programming
    language)
  • Subsystems are systematically refined to show
    more details in detailed design.



3
Architecture Types
  • Logical Architecture
  • Organization of a system into logical units
    (e.g., layers, subsystems)
  • Logical units do not necessarily result in units
    of implementation (e.g., Java packages,
    components)
  • Implementation (Deployment) Architecture
  • Organization of a system into physical units
    (e.g., source files, Java packages, components)

4
Layered Architectures
  • Separate presentation and application logic, and
    other areas of concern.

UI Layer
Domain or Application Logic Layer
Services Layer
Persistence Subsystem
Logging Subsystem
. . .
5
Component Architectures
  • An architectural component is an architectural
    unit provides a well defined set of services.
  • An architecture is constructed by composing
    components.
  • A component has two types of interfaces
  • Provided interface describes the services
    provided by a component
  • Required interface describes the services that
    the component requires to provide its services

6
Transitioning to Architectural Design
Describe how subsystems interact to accomplish
use cases
Requirements use case
Architectural sequence models
Identify subsystems by grouping use cases
Architectural static model
Identify subsystems by grouping classes
Requirements class model
7
Simple Library Example
  • Library consists of reference and general copies
  • Only general copies can be chacked out reference
    copies cannot be checked out
  • A borrower cannot check out a copy if they have
    outstanding fines.
  • A borrower is charged 1 for each week after its
    due date that it is not returned.

8
Library Example required services
  • CheckOutCopy
  • ReturnCopy
  • AddCopy
  • DeleteCopy
  • AddBorrower
  • DeleteBorrower
  • FindCopy

9
CheckOutCopy UseCase (draft form)
  • UseCase CheckOutCopy
  • Main flow
  • Clerk enters borrower and copy identifiers
  • If borrower is registered, does not have fines,
    and copy is a general copy then system indicates
    that checkout is successful else system
    indicates that checkout is not successful

10
Requirements Class Model
11
Architectural Static Model
Use cases grouped into borrower services and
administrative services two subsystems for each
of these groupings is created one responsible
for borrower services, the other for
administrative services
Both administrative and borrower services need
copy and borrower information. This observation
results in a decision to include two subsystems
for managing copies and borrowers.
12
CheckOut Sequence Model
13
ReturnCopy Sequence Model
Write a Comment
User Comments (0)
About PowerShow.com