CS 451 Software Engineering Yuanfang Cai Room 104, University - - PowerPoint PPT Presentation

cs 451 software engineering
SMART_READER_LITE
LIVE PREVIEW

CS 451 Software Engineering Yuanfang Cai Room 104, University - - PowerPoint PPT Presentation

CS 451 Software Engineering Yuanfang Cai Room 104, University Crossings 215.895.0298 yfcai@cs.drexel.edu 1 Drexel University Design Models Data Flow Diagram Class Diagram Sequence Diagram State Diagram Component Diagram


slide-1
SLIDE 1

Drexel University

CS 451 Software Engineering

1

Yuanfang Cai Room 104, University Crossings 215.895.0298 yfcai@cs.drexel.edu

slide-2
SLIDE 2

Drexel University

Design Models

 Data Flow Diagram  Class Diagram  Sequence Diagram  State Diagram  Component Diagram  Deployment Diagram  Data Models

2

slide-3
SLIDE 3

Drexel University

UML Component Diagram

3

slide-4
SLIDE 4

Drexel University

Component Design

4

 Displays the high level packaged structure of the

code itself.

 Dependencies among components are shown

 Source code components  Binary code components  Executable components.

 Some components exist at compile time, at link

time, at run times well as at more than one time.

slide-5
SLIDE 5

Drexel University

Model a component

5

 Illustrates the pieces of software, embedded

controllers and such that make up a system, and their organization and dependencies.

 A component is implemented by one or more

Classes (or Objects) at runtime.

slide-6
SLIDE 6

Drexel University

Model a component’s interfaces

6

Provided Interfaces Required Interfaces

slide-7
SLIDE 7

Drexel University

Model a component’s relationship

7

slide-8
SLIDE 8

Drexel University

Interface Design

 Why interface design is needed?

 Task parallelism  Performance analysis

 Different types of Interface Design

 Graphical interface design  Boundary class design  Database interface design  File storage interface design  Hardware interface design  More…

8

slide-9
SLIDE 9

Drexel University

The Component and Interface Design of TheraWii

9

slide-10
SLIDE 10

Drexel University

Component Diagram Example in UML 1.4

slide-11
SLIDE 11

Drexel University

Another Example using UML 1.4

11

slide-12
SLIDE 12

Drexel University

Component Diagram Example in UML 2

slide-13
SLIDE 13

Drexel University

Beyond the Basics

Display a component's internal structure.

slide-14
SLIDE 14

Drexel University

Deployment Diagram

14

slide-15
SLIDE 15

Drexel University

Architecture Design

15

 Models the configuration of run-time processing

elements and the software components, processes, and objects that live on them.

 Software component instances represent run-

time manifestations of code units.

 The relation between software and hardware  The ambiguity of the definition of “architecture

design”

 Sometimes it is used to represent component

diagram

 Sometime it means components and conectors

slide-16
SLIDE 16

Drexel University

Deployment Diagram

16

slide-17
SLIDE 17

Drexel University

Deployment Diagram Example

slide-18
SLIDE 18

Drexel University

UML Deployment Diagram Example

slide-19
SLIDE 19

Drexel University

Concise UML 2 Deployment Diagram

slide-20
SLIDE 20

Drexel University

Deployment Diagram

20

slide-21
SLIDE 21

Drexel University

Data Models

21

slide-22
SLIDE 22

Drexel University

Data Model Design

 Why Data Model Design is needed?

 Performance consideration  Interface consideration  Adaptability consideration

 Different types of Data Design

 In-memory data structure  Input-output file format  Database scheme  Classes attributes

 Principles: abstraction and modularization

22

slide-23
SLIDE 23

Drexel University

Data Modeling Concepts

Data objects can then be represented as tables:

23

slide-24
SLIDE 24

Drexel University

Data Modeling using Classes

24

 The Data Model Design of TheraWii

slide-25
SLIDE 25

Drexel University

Database Scheme Design

 Entity Relation Diagram  The Database Design of Vodka

25

slide-26
SLIDE 26

Drexel University

Network Diagrams

 Network diagrams are often drawn using software-based drawing

tools (figure below was drawn using Microsoft Visio)

slide-27
SLIDE 27

Drexel University

Software Design Document

 Syntax  Component Diagram

 High-level Component Diagrams  Detailed Component Diagrams (Classes and relations

within a Component)

 Interface Design (Boundary Class)  Data Model /Data Storage Design (Entity

Classes), data attributes have to be specified

 Optional

 Deployment Diagram  Algorithm Explanation

27

slide-28
SLIDE 28

Drexel University

Please refer to the design document rubric

28