Báo cáo tài liệu vi phạm
Giới thiệu
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
THỊ TRƯỜNG NGÀNH HÀNG
NÔNG NGHIỆP, THỰC PHẨM
Gạo
Rau hoa quả
Nông sản khác
Sữa và sản phẩm
Thịt và sản phẩm
Dầu thực vật
Thủy sản
Thức ăn chăn nuôi, vật tư nông nghiệp
CÔNG NGHIỆP
Dệt may
Dược phẩm, Thiết bị y tế
Máy móc, thiết bị, phụ tùng
Nhựa - Hóa chất
Phân bón
Sản phẩm gỗ, Hàng thủ công mỹ nghệ
Sắt, thép
Ô tô và linh kiện
Xăng dầu
DỊCH VỤ
Logistics
Tài chính-Ngân hàng
NGHIÊN CỨU THỊ TRƯỜNG
Hoa Kỳ
Nhật Bản
Trung Quốc
Hàn Quốc
Châu Âu
ASEAN
BẢN TIN
Bản tin Thị trường hàng ngày
Bản tin Thị trường và dự báo tháng
Bản tin Thị trường giá cả vật tư
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
NGÀNH HÀNG
NÔNG NGHIỆP, THỰC PHẨM
Gạo
Rau hoa quả
Nông sản khác
Sữa và sản phẩm
Thịt và sản phẩm
Dầu thực vật
Thủy sản
Thức ăn chăn nuôi, vật tư nông nghiệp
CÔNG NGHIỆP
Dệt may
Dược phẩm, Thiết bị y tế
Máy móc, thiết bị, phụ tùng
Nhựa - Hóa chất
Phân bón
Sản phẩm gỗ, Hàng thủ công mỹ nghệ
Sắt, thép
Ô tô và linh kiện
Xăng dầu
DỊCH VỤ
Logistics
Tài chính-Ngân hàng
NGHIÊN CỨU THỊ TRƯỜNG
Hoa Kỳ
Nhật Bản
Trung Quốc
Hàn Quốc
Châu Âu
ASEAN
BẢN TIN
Bản tin Thị trường hàng ngày
Bản tin Thị trường và dự báo tháng
Bản tin Thị trường giá cả vật tư
Thông tin
Tài liệu Xanh là gì
Điều khoản sử dụng
Chính sách bảo mật
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Lecture Software engineering: Lecture 18 - Ivan Marsic
Đang chuẩn bị liên kết để tải về tài liệu:
Lecture Software engineering: Lecture 18 - Ivan Marsic
Diễm Trang
69
31
ppt
Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG
Tải xuống
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 http://en.wikipedia.org/wiki/Problem_Frames_Approach 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 http://en.wikipedia.org/wiki/Problem_Frames_Approach 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 I.e., 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 .
TÀI LIỆU LIÊN QUAN
Lecture Software requirements engineering - Lecture 18: Negotiation process
Lecture Software requirements engineering - Lecture 18: Negotiation process
Lecture Software engineering (9/e): Chapter 18 - Sommerville
Lecture Software engineering: Chapter 18 – Service-oriented Software
Lecture Software engineering: Lecture 18 - Ivan Marsic
Lecture Software engineering (7/e): Chapter 18 – Ian Sommerville
Lecture Software Engineering - Chapter 18: Software Reuse
Lecture Software engineering - Chapter 18: Testing conventional applications
Lecture Formal methods in software engineering - Lecture 18: Abstract model specification
Lecture Formal methods in software engineering - Lecture 18: Abstract model specification
Đã 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.