Bài giảng Kiến trúc phần mềm - Chương: Mẫu thiết kế - Behavioral Patterns - Trần Minh Triết

Trường Đại học Khoa Học Tự Nhiên  
Khoa Công Nghệ Thông Tin  
Bộ môn Công Nghệ Phần Mềm  
CTT526 - Kiến trúc phần mềm  
Mẫu thiết kế  
Behavioral Patterns  
PGS.TS. Trần Minh Triết  
Version 1.0  
Mẫu thiết kế trong nhóm  
Behavioral Pattern  
Mẫu Chain of Responsibility  
Mẫu Command  
Mẫu Interpreter  
Mẫu Iterator  
Mẫu Mediator  
Mẫu Memento  
Mẫu Observer  
Mẫu State  
Mẫu Strateg
Mẫu Template Method  
Mẫu Visitor  
[Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995). Design Patterns - Elements of Reusable Object-Oriented  
2
Software, Addison-W sley]  
[Christopher G. Lasater (2007). Design Patterns, Wordware Publishing, Inc.]  
Mẫu Command  
3
[Christopher G. Lasater (2007). Design Patterns, Wordware Publishing, Inc.]  
Mẫu Command  
[Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995). Design Patterns - Elements of Reusable Object-Oriented  
4
Software, Addison-Wesley]  
Mẫu Command  
[Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995). Design Patterns - Elements of Reusable Object-Oriented  
5
Software, Addison-Wesley]  
Mẫu Command  
[Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995). Design Patterns - Elements of Reusable Object-Oriented  
6
Software, Addison-Wesley]  
Mẫu Command  
[Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995). Design Patterns - Elements of Reusable Object-Oriented  
7
Software, Addison-Wesley]  
Thảo luận  
Các tình huống sử dụng thông thường?  
Plugin?  
?
8
Mẫu Template Method  
[Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995). Design Patterns - Elements of Reusable Object-Oriented  
9
Software, Addison-Wesley]  
Mẫu Template Method  
[Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995). Design Patterns - Elements of Reusable Object-Oriented  
10  
Software, Addison-Wesley]  
Mẫu T
11  
[Christopher G. Lasater (2007). Design Patterns, Wordware Publishing, Inc.]  
Mẫu Template Method  
12  
Mẫu Template Method  
13  
Thảo luận  
Cần xác định rõ quy trình chuẩn gồm những bước xử lý  
nào (kể cả quy trình có rẽ nhánh và lặp)  
Cần xác định rõ những bước xử lý nào có thể cần thay  
đổi cách xử lý cụ thể (nhưng vẫn đảm bảo ý nghĩa trong  
quy trình của bước xử lý này)  
Danh sách các tham số và kiểu kết quả trả về của hàm  
xử lý cho mỗi bước  
Khi muốn thay đổi cách xử lý cụ thể của một bước  
trong quy trình đã được định nghĩa, không thay đổi  
cách xử lý c
14  
Mẫu Strategy  
[Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995). Design Patterns - Elements of Reusable Object-Oriented  
15  
Software, Addison-Wesley]  
Mẫu Strategy  
[Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995). Design Patterns - Elements of Reusable Object-Oriented  
16  
Software, Addison-Wesley]  
Mẫu Strategy  
17  
[Christopher G. Lasater (2007). Design Patterns, Wordware Publishing, Inc.]  
M
18  
[Christopher G. Lasater (2007). Design Patterns, Wordware Publishing, Inc.]  
Thảo luận  
Có thể cho phép thay thế riêng lẻ từng thao tác xử lý cụ  
thể trong một quy trình xử lý tổng quát  
Plug-and-play  
Kết hợp mẫu Strategy vào mẫu Template Method?  
19  
Mẫu State  
[Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995). Design Patterns - Elements of Reusable Object-Oriented  
20  
Software, Addison-Wesley]  
Tải về để xem bản đầy đủ
pdf 27 trang yennguyen 62860 Free
Bạn đang xem 20 trang mẫu của tài liệu "Bài giảng Kiến trúc phần mềm - Chương: Mẫu thiết kế - Behavioral Patterns - Trần Minh Triết", để tải tài liệu gốc về máy hãy click vào nút Download ở trên

File đính kèm:

  • pdfbai_giang_kien_truc_phan_mem_chuong_mau_thiet_ke_tran_minh_t.pdf