SW-PHASE 3 Simple explanation for what we will submit.

23
SW-PHASE 3 Simple explanation for what we will submit

Transcript of SW-PHASE 3 Simple explanation for what we will submit.

Page 1: SW-PHASE 3 Simple explanation for what we will submit.

SW-PHASE 3

Simple explanation for what we will submit

Page 2: SW-PHASE 3 Simple explanation for what we will submit.

SW design

• In this phase we will design the software of E-student notebook

• Software design phase contains:• Architectural design• Data Design• Component Design• Interface Design

Page 3: SW-PHASE 3 Simple explanation for what we will submit.

Architectural design

• The design process of identifying the sub-systems making up a system and establishing a framework for sub-system control and communication.

• An early stage of the system design process.• Represents the link between specification

(requirements engineering process) and design processes.

Page 4: SW-PHASE 3 Simple explanation for what we will submit.

1- Architectural design

• It involves identifying major system components and their communications.

• The software architect must make decisions about:

• System organization style • Strategy for decomposing sub-systems into

their components or modules• How the execution of sub-systems is controlled

Page 5: SW-PHASE 3 Simple explanation for what we will submit.

1.1 System organization style

• Client-server organization style• Shared data repository style• Layered architecture style

• Different parts of the system may be designed using different architectural styles.

Page 6: SW-PHASE 3 Simple explanation for what we will submit.

1.2 Strategy for decomposing sub-systems into their components or modules

– An object-oriented decomposition model where the system is decomposed into interacting objects

– A Function-oriented pipelining (or data-flow model) where the system is decomposed into functional modules that accept input data and transform it into output data.

Page 7: SW-PHASE 3 Simple explanation for what we will submit.

1.3 How the execution of sub-systems is controlled

• Centralised controlOne sub-system has overall responsibility for

control and starts and stops other sub-systems.

• Event-based controlEach sub-system can respond to externally

generated events from other sub-systems or the system’s environment.

Page 8: SW-PHASE 3 Simple explanation for what we will submit.

2- Data Design

• ER• Database Schema• Data Dictionary

Page 9: SW-PHASE 3 Simple explanation for what we will submit.

Lilac Safadi Conceptual DB

Design

2.1 EXAMPLE: ERD for Staff View of DreamHome

BUSINESSOWNER

STAFF

PROPERTY

PRIVATEOWNER LEASE

CLIENT

PREFERENCE

POwn

holdassociate

manage

state

supervise register

BOwn

(1:1)

(1:1)

(1:1)

(1:1)

(1:1)

(0,*) (0,*)

(0,*)

(0,*)

(0,*)

(0,1)

(1,*)

(1,*)

(0,1)

(0,1)

(0,100)

views (0,*)(0,*)

supervisor

supervisee

Page 10: SW-PHASE 3 Simple explanation for what we will submit.

Lilac Safadi Relational

Model10

2.2Relation Schema

4170010

4182000

4182034

4188134

4189860

StudentNo

Al-Saleh

Al-Ghanem

Al-Fahad

Saod

Rashed

LName

Amal

Nora

Laila

Amal

Rana

FName Initial

M.

A.

A.

F.

I.

DOB

04-06-78

02-12-79

01-11-74

22-04-73

30-01-78

GPA

3.91

4.20

4.01

3.01

2.31

STUDENTDept

D001

D001

D002

D003

D001

STUDENT (StudentNo, Lname, Fname, Initial, DOB, GPA, Dept)

We will do same as this for all relations we have =)

Page 11: SW-PHASE 3 Simple explanation for what we will submit.

Lilac Safadi Conceptual DB

Design

2.3 Data Dictionary for Staff View Showing Description of Relationships

Entity Name Multiplicity Relationship Entity Name Multiplicity

Staff 0..1 Manages PropertyForRent 0..100 0..1 Supervises Staff 0..10

PropertyForRent 1..1 AssociatedWith Lease 0..*

Page 12: SW-PHASE 3 Simple explanation for what we will submit.

3- Component Design

• If you use Structured System analysis:• DFD.• Pseudo-code.

Page 13: SW-PHASE 3 Simple explanation for what we will submit.

3- Component Design

• If you Use Object-Oriented:- Use case diagram.- Class diagram.- Pseudo-code.

Page 14: SW-PHASE 3 Simple explanation for what we will submit.

3- Component Design• If you Use Object-Oriented:• I think Using OOP is much easier for us than

DFDs specially with the help of eclipse using UML and Code Review :Enerjy

the 1st will generate most of the code and the 2ed will validate it.

With DFDs the probability of making mistake is huge this is what I think,

TELL ME WUT U THINK ^^

Page 15: SW-PHASE 3 Simple explanation for what we will submit.

Use case diagram

Page 16: SW-PHASE 3 Simple explanation for what we will submit.

Class diagram

Page 17: SW-PHASE 3 Simple explanation for what we will submit.

EDRAW TOOLS• If you did not download eclipse or you don’t

know how to create UML or DFDs• These are online tools to help you draw and do

your part =) • http://www.gliffy.com/gliffy/ • http://www.smartdraw.com/specials/umldesign

.asp

• http://www.edrawsoft.com/Data-Flow-Diagrams.php

Page 18: SW-PHASE 3 Simple explanation for what we will submit.

Pseudo-code Example<variable> = <expression> if <condition> do stuff else do other stuff while <condition> do stuff for <variable> from <first value> to <last value> by

<step> do stuff with variable function <function name>(<arguments>) do stuff with arguments return something <function name>(<arguments>) // Function call

Page 19: SW-PHASE 3 Simple explanation for what we will submit.

4- Interface Design

• In this section, we want to see what the system is going to look like to the person who will be operating/using it. (Print screen for the main functions, error messages, etc…).

• We could use Visual Basic .Net• Or Web design • Check the One Note for Microsoft office

interface we should do something like it

Page 20: SW-PHASE 3 Simple explanation for what we will submit.
Page 21: SW-PHASE 3 Simple explanation for what we will submit.

Work Breakdown

Page 22: SW-PHASE 3 Simple explanation for what we will submit.

Name Part 1 Part 2 Part 3 Part 4

Reem * *

Rathath * *

Rawan * *

Hessah * *

Fatima * *

Hayfa * *

Farah * *

Reham * *

Phase parts Duration

1- Archi Design 2 days

2-Data Design 2 days

3-Component Design 2 days

4-Interface 1 day

Total duration : 7 days Due date : Sat 2 – 5 – 2009

(*) Means : u r participating in the part

Page 23: SW-PHASE 3 Simple explanation for what we will submit.

• For part 1 • ( Reem , Hayfa, Rawan, Farah, Hessah)• We should go out tomorrow morning in algara3awi

at 9 am till I dunno we get tired

• Bring ur laptops and charge them • If u can’t come let me know by a msg But plz we NEED to get it done together So try hard to come next morning

Thank you ,