Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

UML

Published by Zero No.0, 2021-02-19 04:32:37

Description: UML
presentation clip
https://drive.google.com/file/d/1F-J0vZa1Zmxan2hXrOpodP66ko6X4ZzL/view?usp=sharing

Search

Read the Text Version

Unified Modeling Language

UML คอื โมเดลมาตรฐานทใี่ ชก้ บั หลกั การ 2 ออกแบบ OOP(Object oriented programming) รูปแบบของภาษา UML จะมี Notation ซงึ่ เปนสญั ลกั ษณทนี่ ําไปใชใ้ น Model ตา่ งๆ UMLจะ มขี อ้ กาํ หนดกฏระเบยี บตา่ งๆ ในการโปรแกรม โดย กฎระเบยี บตา่ งๆ จะมี ความหมายตอ่ การเขยี น โปรแกรม(Coding)

3 1. วงจรการพฒั นาทสี่ น้ั ทสี่ ดุ (Shortest Development life cycle) 2. เพมิ่ ผลผลติ (Increase productivity) 3. ปรบั ปรงุ คณุ ภาพซอฟตแ์ วร ์ (Improve software quality) 4. สนับสนุนระบบสบื ทอดมรดก (Support legacy system) 5. ปรบั ปรงุ การเชอื่ มตอทมี งาน (Improve team connectivity)

4 1. UML สามารถแสดงส่วนประกอบในการสรา้ ง Project ในรปู ของ OOP 2. เชอื่ มแนวคดิ กบั การออกแบบระบบโดยใชรหสั เชงิ วตั ถุ (Object Oriented Code) 3. ง่ายตอ่ การทาํ ความเขา้ ใจและสามารถแปลงเป็ นภาษาคอมพวิ เตอร ์ (Computer Language)

โครงสรา้ ง UML

“ Thing (สว่ นประกอบของ UML) 6

1. Class อธิบายกลมุ่ ของ object หรอื method 2. Interface เปน็ การนํา operation หรอื method ตา่ งๆ มาจดั กลมุ่ เปน็ collection 3. Collaboration การรวมเปน็ กลมุ่ ขององคป์ ระกอบยอ่ ยทสี่ มั พนั ธ์ 4. Use case ใช้อธิบาย action ทเ่ี กดิ ขน้ึ 5. Active class process class ที่ object ในคลาสทม่ี มี ากกวา่ า 1 process 6. Component เปน็ สง่ิ ทม่ี ใี นระบบ เชน่ ไฟลท์ เ่ี ปน็ source code เปน็ ตน้ 7. Node องคป์ ระกอบของการประมวลผล โดยแสดงขนาดของทรพั ยากร 8. Interaction object ที่มกี ารแลกเปลย่ี นขา่ วสาร 9. State machine สถานะของละดับและวตั ถุ 10.Package การนําสว่ นประกอบตา่ งๆ มารวมกนั ภายในเงอ่ื นไขบางประการ 11. Note or Page หมายเหตุอธบิ ายรายละเอยี ดของ UML 7

“ Relationship (รปู แบบความสมั พนั ธ)์ 8

1. Dependency เม่ือ thing หน่ึงเปล่ียนแปลงจะส่งผลต่ออีก thing หน่ึง 2. Realization ความสัมพนั ธร์ ะหวา่ ง interface กับ class 3. Association ความสัมพนั ธร์ ะหวา่ ง obj. 4. Generalization ความสัมพนั ธเ์ ชงิ สืบทอด 9

“ Diagram 10

1. Deployment Diagram 2. Use case Diagram 3. Class diagram 4. Sequence Diagram 5. Collaboration Diagram 6. State Diagram 7. Activity Diagram 8. Component Diagram 11

โปรแกรมที่เขียน UML Application • Visual Paradigm • ClickCharts • Microsoft office Visio Web Application • https://cacoo.com/ • www.smartsheet.com/ 12

Reference ● http://www.narisa.com/forums/index.php? showtopic=18749 ● http://www.itmelody.com/tu/uml1.html ● http://www.thaiall.com/uml/indexo.html 13

14

ผู้จัดทำ นำยธนกร ดอนพรม ปวส.1.1 เลขท่ี 4 นำยมงั กร ปำนฟัก ปวส.1.1 เลขท่ี 5 นำยธีรวฒั น์ เดชแพ ปวส.1.2 เลขท่ี 7 15


Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook