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
Cơ sở dữ liệu
Design Patterns Model – View – Controller
tailieunhanh - Design Patterns Model – View – Controller
Patterns Model – View – Controller defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically. Design Patterns Model – View – Controller provides about history, observer pattern, observer class diagram, transactions happen, observer rocks, architecture diagram, advantages, problems. | Design Patterns Model – View – Controller Copyright © 2001 DeLorme 28 November 2001 History A framework pattern for reusable applications. Depends on the Observer pattern. First developed by Xerox PARC for Smalltalk-80. Used by the Application Kit system in NeXTstep. Used by the Cocoa APIs for Apple’s OS X. Recommended structural framework pattern in J2EE. I have used this pattern for nearly ten years. Copyright © 2001 DeLorme 28 November 2001 Observer Pattern Defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically. Used to decouple the subject from the observer, since the subject needs little information to notify the observer. Can result in excessive notifications. Copyright © 2001 DeLorme 28 November 2001 Observer Class Diagram Observable +addObserver(Observer) +deleteObserver(Observer) +notifyObservers(Object) #hasChanged() : boolean #setChanged() Observer +update(Observable, Object) AccountView +update(Observable, Object) BankAccount +widthdraw(double) : long +deposit(double) : long +getBalance() : double SummaryView +update(Observable, Object) Copyright © 2001 DeLorme 28 November 2001 Transactions Happen! Controller BankAccount AccountView SummaryView deposit() setChanged() notifyObservers() update() update() getBalance() getBalance() Copyright © 2001 DeLorme 28 November 2001 Observer Rocks! The Observer pattern allowed the BankAccount class to notify multiple views without minimal information. Observers can register themselves with their Subjects. No strings attached! Transactions would cause this design to collapse under spurious notifications! Copyright © 2001 DeLorme 28 November 2001 Architecture Diagram View model representation Model business logic Controller user interaction Update Event User Actions Change View Set State Get State Copyright © 2001 DeLorme 28 November 2001 Advantages Separation between the data layer and the interface is the key: The view is easily replaced or expanded. Model data changes are reflected in all interfaces because all views are Observers. Better scalability since UI and application logic are separated. Distribution over a network is greatly simplified. When the implementation is sufficiently discrete, the interface can be entirely replaced. Since the Model encapsulates both state and logic, state changes made by one interface can be seen in others. Copyright © 2001 DeLorme 28 November 2001 Problems Problems of translation: Business logic bleeds into the Controller. Observer pattern is non-obvious for EJBs. See EJBObserver by Greg Comeau. Problems of the pattern: Excessive coupling between the Model and View and the Model and Controller. Frozen interfaces are hard to manage!
Trường Thành
74
9
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
Bấm vào đây để xem trước nội dung
Tải xuống
TÀI LIỆU LIÊN QUAN
Design Patterns Java™ Workbook
400
66
0
Building some design patterns in C#
10
66
0
Lecture Software construction - Lecture 16: Software design patterns
41
79
0
Lecture Software construction - Lecture 16: Software design patterns
16
55
3
The head First Design Patterns
681
77
0
THEWEB DESIGNER’S ROADMAP
32
89
0
Bài giảng Design Patterns
68
74
2
Mastering Python Design Patterns: Part 1
105
77
1
Mastering Python Design Patterns: Part 2
107
63
2
Software design: Lecture 28 - Sheraz Pervaiz
23
28
1
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461868
55
Giới thiệu :Lập trình mã nguồn mở
14
22645
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
10893
529
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10067
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
9522
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8283
1125
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8240
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
6687
253
Vật lý hạt cơ bản (1)
29
5771
85
TỪ KHÓA LIÊN QUAN
Cơ sở dữ liệu
Design Patterns Model – View – Controller
Observer pattern
Observer class diagram
Transactions happen
Observer rocks
Architecture diagram
Mastering Python Design Patterns
Ebook Mastering Python Design Patterns
Model view controller pattern
The proxy pattern
Chain of responsibility pattern
Lecture Advanced computer architecture
Bài giảng Kiến trúc máy tính nâng cao
Advanced computer architecture
Block diagram
Computer architecture
Hardware structure
the spaces around
architecture
the context for design
arriving at the diagram
responding at the diagram
organising the plan
Class diagram
Software design
Software design and architecture
Software architecture
Software architectural design
Object oriented design
Software development
Control signals
Hardwired control unit
Microcoded control unit
Contains control words
Microprogram controller
I/O subsystem block diagram
Detailed structure of I/O modules
Memory address space
CPU’s address lines
Address decoder
Logarithmic barrel shifter
Floating point representation
Block diagram of cache
Control logic
Associative cache
Elliptic Curve Cryptography
Scaled Modular Arithmetic
Modulus Scaling Techniques
Scaled Modular Inversion
The Elliptic Curve Architecture
Block diagram of the arithmetic
HANU Airline
Hệ thống đặt vé máy bay
Airline Reservation System
REST Architecture Style
Software Development Life Cycle (SDLC)
Entity relationship diagram (ERD)
Social network platform
Data flow diagrams (DFDs)
Bài giảng Kiến trúc phần mềm
Kiến trúc phần mềm
Tài liệu kiến trúc phần mềm
Architecture documentation
Documenting an architecture is good
Component diagram
Lecture Computer Networks
Bài giảng Mạng máy tính
Architecture and Protocols
Critical analysis of TCP
The TCP Sawtooth
TCP time diagram
Systems analysis
Design methods
Application architecture
Phân tích hệ thống
Thiết kế hệ thống
Physical data flow diagram
Information systems
Systems design
Introduction to systems analysis and design
TÀI LIỆU MỚI ĐĂNG
MÔN HỌC VẬT LIỆU VÀ CÔNG NGHỆ KIM LOẠI - PHẦN I: KIM LOẠI HỌC
32
177
2
27-04-2024
Đóng mới oto 8 chỗ ngồi part 9
10
117
0
27-04-2024
Khurana et al. Journal of Orthopaedic Surgery and Research 2010, 5:23
7
133
0
27-04-2024
QUẢN LÝ CHẤT LƯỢNG KHÔNG KHÍ
75
137
0
27-04-2024
XỬ TRÍ CHẤN THƯƠNG SỌ NÃO KÍN
1
113
1
27-04-2024
Truyện kiếm hiệp - Duy ngã độc tôn phần 5/7
1
93
0
27-04-2024
ĐỀ THI THỬ ĐẠI HỌC 2009 – THPT ĐÔNG SƠN 1 – LẦN 2 – MÔN TOÁN
8
92
0
27-04-2024
Báo cáo khoa học: " Principaux critères économiques de gestion des forêts : analyse critique et comparative"
29
89
0
27-04-2024
Bảng màu theo chữ cái – V
11
100
0
27-04-2024
Hướng dẫn chế độ dinh dưỡng cho người bệnh viêm khớp
5
120
0
27-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
5738
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
5321
1136
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8283
1125
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3500
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
10893
529
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3685
525
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4052
516
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4129
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.