Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Lecture Software engineering: Lecture 18 - Ivan Marsic
tailieunhanh - Lecture Software engineering: Lecture 18 - Ivan Marsic
Lecture 18: Design patterns (Command, decorator, state, proxy). The main contents of this chapter include all of the following: Command pattern, decorator pattern, state pattern, proxy pattern. | Ivan Marsic Rutgers University LECTURE 18: Design Patterns Command, Decorator, State, Proxy Topics Command Pattern Decorator Pattern State Pattern Proxy Pattern Protection Proxy Command Pattern Motivation Client A Server B doAction( params ) (a) Client A execute() Receiver B doAction( params ) Command create( params ) (b) unexecute() (Server) Command Pattern Motivation Motivation: To separate parameter preparation from passing program control (decision on when to call) Client A Server B doAction( params ) Client A execute() Receiver B doAction( params ) Command create( params ) unexecute() Reasons for separation: Separate preparation of calling parameters (which may become available much before the execution time or may become available incrementally) All calling parameters become localized in a Command object (“encapsulated”) Parameters may be prepared for the Client by a different object (“Custodian”) Client and . | Ivan Marsic Rutgers University LECTURE 18: Design Patterns Command, Decorator, State, Proxy Topics Command Pattern Decorator Pattern State Pattern Proxy Pattern Protection Proxy Command Pattern Motivation Client A Server B doAction( params ) (a) Client A execute() Receiver B doAction( params ) Command create( params ) (b) unexecute() (Server) Command Pattern Motivation Motivation: To separate parameter preparation from passing program control (decision on when to call) Client A Server B doAction( params ) Client A execute() Receiver B doAction( params ) Command create( params ) unexecute() Reasons for separation: Separate preparation of calling parameters (which may become available much before the execution time or may become available incrementally) All calling parameters become localized in a Command object (“encapsulated”) Parameters may be prepared for the Client by a different object (“Custodian”) Client and Custodian objects’ codes may evolve separately ., different developers develop and maintain or upgrade these classes May prepare all Commands in a list (with different parameters or different Receivers) and simply iterate through the list to execute all For un-execute (roll-back) capability Parameters may be prepared by a different object (“Custodian”) (Server) Preparation Execution Command Pattern Motivation Problem: Variable and evolving method signature If Server code changes, Client code needs to change, too Method 1 Method 2 Client Server (Receiver) Before: Command Pattern Improvement Method 1 Method 2 Client Server (Receiver) Before: After: The interface to the Server object is much simpler. execute() execute() Client Command 1 Command 2 Method 1 Method 2 Server (Receiver) The change towards the Cmd. pattern may not appear radical when viewed overall, but looking from the client’s standpoint, the simplification is significant. Command Pattern Improvement Command .
Mạnh Hà
95
31
ppt
Báo lỗi
Trùng lắp nội dung
Văn hóa đồi trụy
Phản động
Bản quyền
File lỗi
Khác
Upload
Tải xuống
đang nạp các trang xem trước
Không thể tạo bản xem trước, hãy bấm tải xuống
Tải xuống
TÀI LIỆU LIÊN QUAN
Lecture Object-oriented software engineering - Chapter 1: Software and software engineering
28
112
0
Lecture Introduction to software engineering: Week 1 - Nguyễn Thị Minh Tuyền (tt)
43
150
1
Lecture Software engineering (9/e): Chapter 1 - Sommerville
49
125
0
Software Engineering: Chapter 1 - Introduction
16
107
0
Lecture Software engineering (9/e): Chapter 21 - Sommerville
46
109
0
Lecture Software engineering - Chapter 1: Software and software engineering
24
120
0
Software Engineering: Chapter 7 – Detail Design
37
133
0
Lecture Software requirements engineering - Lecture 28: Requirements engineering in agile methods
31
131
0
Lecture Software requirements engineering - Lecture 29: Requirements engineering in agile methods
38
141
1
Lecture Software requirements engineering - Lecture 30: Methods for requirements engineering
41
114
0
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461864
55
Giới thiệu :Lập trình mã nguồn mở
14
22635
59
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10884
529
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10064
446
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9519
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8280
1125
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8230
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7864
2220
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6686
253
Vật lý hạt cơ bản (1)
29
5770
85
TỪ KHÓA LIÊN QUAN
Kỹ thuật lập trình
Software engineering
Lecture Software engineering
Software development methods
Design patterns
Command pattern
Decorator pattern
Object oriented software engineering
Practical software development
Object orientation
Software quality
Software engineering projects
Introduction to software engineering
Lecture Introduction to software engineering
Công nghệ phần mềm
Software process
Software engineering ethics
Professional software development
Software process activities
Software engineering diversity
Introduction Software Engineering
Software products
FAQs about software engineering
Essential attributes of good software
Importance of software engineering
Software processes
Aspect oriented software engineering
The separation of concerns
Software engineering with aspects
Quality concepts
Detail Design
Design Software Engineering
Implementation Software Engineering
Build Software Engineering
Buy Software Engineering
Requirement engineering
Requirement engineering process
Software requirements engineering
Lecture Software requirements engineering
Requirements engineering
Software requirements engineering
Lecture Software requirements engineering
System engineering
Software requirements document
Requirements engineering process tasks
TÀI LIỆU MỚI ĐĂNG
Động cơ đốt trong và máy kéo công nghiêp tập 2 part 8
32
260
0
26-04-2024
Bơm máy nén quạt trong công nghệ part 1
20
249
2
26-04-2024
MySQL Basics for Visual Learners PHẦN 9
15
183
0
26-04-2024
MySQL Database Usage & Administration PHẦN 9
37
141
0
26-04-2024
Đóng mới oto 8 chỗ ngồi part 9
10
116
0
26-04-2024
Báo cáo tốt nghiệp: Vận hành và bảo dưỡng trong MPLS
92
144
3
26-04-2024
HƯỚNG DẪN SỬ DỤNG PHẦN MỀM CAITA part 9
18
129
0
26-04-2024
Giáo trình tổng quan khoa học thông tin và thư viện part 7
22
143
2
26-04-2024
Báo cáo nghiên cứu nông nghiệp " Introduction of the principles of GAP for citrus through implementation of citrus IPM using Farmer Field Schools "
12
92
0
26-04-2024
Báo cáo nghiên cứu nông nghiệp " Biofertiliser inoculant technology for the growth of rice in Vietnam: Developing technical infrastructure for quality assurance and village production for farmers "
12
87
0
26-04-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7864
2220
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
5722
1368
Ebook Chào con ba mẹ đã sẵn sàng
112
3767
1231
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5319
1136
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8280
1125
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3498
643
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10884
529
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3684
525
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4046
515
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4127
480
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.