Lecture-12-Metode Desain 2
Lecture-12-Metode Desain 2
Ali Tarmuji
Email: alitarmuji@gmail.com
ID YM: alitarmuji
Program Studi Teknik Informatika
Fakultas Teknologi Industri
Universitas Ahmad Dahlan
T. Informatika UAD 1
Teknik Informatika – FTI-Universitas Ahmad Dahlan
architectural design
Program
Architecture
Partisi Arsitektur
Partisi “horizontal” dan “vertical” dibutuhkan
Partisi Horizontal
Tentukan cabang yang terpisah pada hierarki
modul untuk setiap fungsi utama
Gunakan modul kontrol untuk koodinasi
komunikasi antar fungsi2x
function 1 function 3
function 2
Rekayasa Perangkat Lunak 6
Teknik Informatika – FTI-Universitas Ahmad Dahlan
decision--makers
decision
workers
Desain Terstruktur
Tujuan : untuk mendapatkan arsitektur
program yang terpartisi
pendekatan:
DFD dipetakan ke arsitektur program
PSPEC dan STD digunakan untuk
mengindikasikan setiap modul
notasi: diagram struktur
Karakteristik Aliran
Aliran Transformasi
Aliran Transaksi
Pemetaan Transformasi
b g h
a e f
d
c i
j
data flow model
x1 "Transform" mapping
x2 x3 x4
b c d e f g i
a h j
Factoring
direction of increasing
decision making typical "decision
making" modules
main
program
controller
main
D
C
control
B A
A
B
C
Aliran Transaksi
incoming flow
action path
T
Contoh Transaksi
fixture setting fixture
servos
commands
operator process
report display
operator
commands screen
robot control
robot
control
software
assembly
record
in reality, other
commands
would also be shown
DFD Level 1
Error msg
operator fixture
commands
status servos
read
operator
commands
analyze Fixture setting
determine fixture fixture
Valid
command status
command
type
display
select report screen
generate
send
control
value
assembly record
robot control
DFD Level 2
command error msg
produce
error
msg
status format
read command setting fixture setting
command invalid command determine
setting
validate read raw setting
command fixture
status combined
determine status
type
assembly
record
start /stop
Pemetaan Transaksi
e f
a d
b
t i
g
h k
l j
data flow model
m
x1 n
Mapping
b t
a x2 x3 x4
d e f g h x3.1 l m n
i j
k
Rekayasa Perangkat Lunak 22
Teknik Informatika – FTI-Universitas Ahmad Dahlan
produce
error
msg
status format
read command setting fixture setting
command invalid command determine
setting
validate read raw setting
command fixture
status combined
determine status
type
assembly
record
start /stop
process
operator
commands
command determine
input type
controller
Penhalusan struktur
process
operator
commands
command determine
input type
controller