10. system sequence diagram -...
TRANSCRIPT
![Page 1: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/1.jpg)
Desain slide ini dadaptasi dari University of San Fransisco
10. System Sequence Diagram
SIF15001
Analisis dan Perancangan Sistem Informasi
Agi Putra Kharisma, S.T., M.T.
Genap 2014/2015
![Page 2: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/2.jpg)
Yang Sudah Dibuat
1. General View
2. Business Use Case Diagram
3. Business Activity Diagram
4. State Machine Diagram
5. System Use Case Diagram
6. Preliminary Conceptual Model
7. Expanded Use Case
![Page 3: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/3.jpg)
Sekarang...
System Sequence Diagram
for achieving more formal and detailed use case descriptions
![Page 4: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/4.jpg)
System Sequence Diagram
Mendeskripsikan skenario (dapat mengacu pada expanded use case yang telah
dibuat)
![Page 5: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/5.jpg)
Notasi
• Object boxes • actors, subsystems, class instances
• Life lines • vertical line extending down from object
• Messages • horizontal arrows from one life line to another • one object sends a message to another message
Lecture 5a: Sequence Interaction Diagrams – W. Howden
![Page 6: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/6.jpg)
Penting..
The activities related to use case analysis still do not deal with objects
that are internal to the system.
the system must be represented as a
single object: a black box
![Page 7: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/7.jpg)
![Page 8: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/8.jpg)
![Page 9: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/9.jpg)
Entity-Control-Boundary Pattern
• Actors interact with boundary
objects.
• Boundary objects issue
commands to controller objects.
• Controller objects may send
queries back to the boundary
objects to get more information
from the actors.
• Controllers then update entities.
• Boundaries refresh themselves
as needed to reflect changes
among the entities.
http://www.cs.sjsu.edu/~pearce/modules/patterns/enterprise/ecb/ecb.htm
![Page 10: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/10.jpg)
Notasi Objek Dengan Entity-Controller-Boundary
Pattern
http://www.tracemodeler.com/articles/a_quick_introduction_to_uml_sequence_diagrams/
![Page 11: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/11.jpg)
Hubungan Dengan MVC
Entity-Control-Boundary Pattern merupakan salah satu varian
dari Model-View-Controller Pattern
![Page 12: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/12.jpg)
Bagaimana cara membuat System Sequence
Diagram?
Ada 2 tahap, yaitu:
1. Representing the steps of the use case as information
exchange between actors and the system interface.
2. Representing system operations as methods calling
between the interface and the façade-controller, which
encapsulates the domain tier of the system.
![Page 13: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/13.jpg)
Makna Anak Panah Pada Sequence Diagram
• System event
Action performed by an actor that sends some
information to the system.
• System return
Flow of information from the system to one actor.
• System command
Message that is sent from the interface to
the controller, usually in response to a system event.
• System query
Message that is sent from the interface to the controller in
order to obtain some information from the system.
![Page 14: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/14.jpg)
System Event
![Page 15: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/15.jpg)
System Return
![Page 16: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/16.jpg)
System Command
![Page 17: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/17.jpg)
System Query
![Page 18: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/18.jpg)
Labelling Pattern
Untuk memudahkan penamaan informasi yang mengalir pada
sequence diagram.
Jenis informasi yang sering digunakan:
• Simple Information
Contoh: nama
• Complex Information
Contoh: <nama, alamat, ttl>
• Collection
Contoh: mahasiswa*
• ..dsb
![Page 19: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/19.jpg)
Strategi Pembuatan System Sequence Diagram (1)
1. Stateless
Controller tidak mengingat parameter dalam interaksi yang
terjadi. Sehingga parameter yang dibutuhkan harus
disertakan pada setiap interaksi yang membutuhkannya.
![Page 20: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/20.jpg)
Contoh Stateless
![Page 21: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/21.jpg)
Strategi Pembuatan System Sequence Diagram (2)
2. Stateful
Controller mengingat parameter dalam interaksi yang
terjadi, sehingga parameter hanya butuh disertakan satu
kali saja.
![Page 22: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/22.jpg)
![Page 23: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/23.jpg)
Alternate Flow
Bagaimana menampilkan alternate flow dalam sequence diagram?
Menggunakan fragment alt.
![Page 24: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/24.jpg)
Contoh Alternate Flow Menggunakan Fragment Alt
![Page 25: 10. System Sequence Diagram - agipk.lecture.ub.ac.idagipk.lecture.ub.ac.id/files/2015/02/APSI-20142015-10.-System... · 1. Representing the steps of the use case as information exchange](https://reader031.vdocuments.us/reader031/viewer/2022031509/5ca51fa688c993f9768bf14d/html5/thumbnails/25.jpg)
Referensi
Raul Sidnei Wazlawick - Object-Oriented Analysis and Design
for Information Systems