RUP: package vs subsystem
Apa bedanya package dengan subsystem ?Pada RUP, keduanya dibedakan sebagai berikut:
Package adalah sarana untuk mengelompokkan beberapa kelas yang punya keterkaitan erat. Package hanya pengelompokkan logic saja. Package tidak punya behaviour. Setiap kelas di dalam package-lah yang punya behaviour. Ketergantungan antar package sebenarnya adalah ketergantungan antar kelas-kelas yang ada pada package yang berbeda.
Subsystem menurut RUP adalah sebuah komponen. Subsystem punya interface, yang menyatakan behaviour-nya. Ketergantungan antar subsystem selalu melalui interface-nya. Pada UML, subsystem digambarkan dalam bentuk package yang punya interface. Interface subsystem bisa muncul di sequence diagram sebagai salah satu elemen yang berinteraksi.
Prison vs Work
IN PRISON you spend the majority of your time in an 8×10 cell.
AT WORK you spend most of your time in a 6×8 cubicle.
IN PRISON you get three meals a day.
AT WORK you only get a break for 1 meal and you have to pay for it.
IN PRISON you get time off for good behavior.
AT WORK you get rewarded for good behavior with more work.
IN PRISON a guard locks and unlocks all the doors for you.
AT WORK you must carry around a security card and unlock and open all the doors yourself.
IN PRISON you can watch TV and play games.
AT WORK you get fired for watching TV and playing games.
IN PRISON you get your own toilet.
AT WORK you have to share.
IN PRISON they allow your family and friends to visit.
AT WORK you cannot even speak to your family and friends.
IN PRISON all expenses are paid by taxpayers with no work required.
AT WORK you get to pay all the expenses to go to work and then they deduct taxes from your salary to pay for prisoners.
IN PRISON you spend most of your life looking through bars from the inside wanting to get out.
AT WORK you spend most of your time wanting to get out and go inside bars.
IN PRISON there are wardens who are often sadistic.
AT WORK they are called managers.
(Erwin Siegrist)
DFD: common mistakes
Berikut adalah beberapa kesalahan umum yang sering terjadi pada pemodelan DFD:
- magic; sebuah proses (bubble) hanya mempunyai output (tidak punya input); proses tersebut tiba-tiba berjalan tanpa ada trigger apapun ?
- black hole; sebuah proses (bubble) hanya mempunyai input (tidak punya output); buat apa diproses kalau tidak dibutuhkan suatu keluarannya ?
- data store yang hanya diisi saja, tidak pernah dibaca; buat apa menyimpan data kalau tidak diperlukan?
- data store yang hanya dibaca saja, tidak pernah diisi; seringkali alasannya adalah data hanya diisi di awal saja, manual… Jika kasusnya seperti ini, ubah data store jadi entitas eksternal
- data masukan (input) suatu proses sama namanya dengan data keluaran (output) dari proses tersebut; data hanya ‘jalan-jalan’ keluar masuk proses ?
- tidak balanced; jumlah data masukan dan keluaran suatu proses -A, misalnya- tidak sama dengan jumlah data masukan dan keluaran pada DFD level berikutnya untuk proses A; gunakan tool agar terhindar dari kesalahan ini…
- data dari entitas eksternal ‘nyelonong’ masuk ke data store; harusnya ada proses yang menuliskannya ke data store
- data dari sebuah data store pindah sendiri ke data store lain; harusnya ada proses yang memindahkannya…
Apa lagi ya ?
-
Archives
- January 2010 (1)
- December 2009 (8)
- November 2009 (5)
- October 2009 (15)
- September 2009 (12)
- August 2009 (5)
- July 2009 (4)
- June 2009 (7)
- May 2009 (14)
- April 2009 (7)
- March 2009 (7)
- February 2009 (18)
-
Categories
- analysis
- aspect oriented
- CBSE
- critical system
- design
- digital learning
- e-business
- ecosystem
- final project
- fun
- health informatics
- introduction
- lecture
- maintenance
- method
- oop
- others
- programming
- project
- project management
- quality
- real time system
- requirement
- research
- service computing
- soa
- software architecture
- software developer
- software metrics
- software process
- software product
- software quality
- software standard
- technology
- testing
- tools
- Uncategorized
- webE
-
RSS
Entries RSS
Comments RSS