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

29 129 0
Bài giảng Kiến trúc phần mềm: Mẫu thiết kế - Trần Minh Triết

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Bài giảng Kiến trúc phần mềm - Mẫu thiết kế cung cấp cho người học các kiến thức về mẫu thiết kế trong nhóm, mẫu prototype, mẫu builder, mẫu abstract factory, mẫu singleton, mẫu factory. Mời các bạn cùng tham khảo nội dung chi tiế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ế Creational Patterns PGS.TS Trần Minh Triết tmtriet@fit.hcmus.edu.vn Version 1.0 CuuDuongThanCong.com https://fb.com/tailieudientucntt Mở đầu  Ý tưởng mẫu thiết kế  Sự đời ý tưởng mẫu thiết kế  23 mẫu thiết kế nhóm GoF  Nhóm Creational Pattern  Nhóm Behavioral Pattern  Nhóm Structural Pattern  Một số quan điểm cách vận dụng mẫu thiết kế  …  …  Một số nguyên lý lập trình hướng đối tượng CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu thiết kế nhóm Creational Pattern      Mẫu Factory Mẫu Abstract Factory Mẫu Builder Mẫu Prototype Mẫu Singleton 12/09/201 CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Factory [Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995) Design Patterns - Elements of Reusable Object-Oriented 12/09/201 Software, Addison-Wesley] CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Factory 12/09/201 [Christopher G Lasater (2007) Design Patterns, Wordware Publishing, Inc.] CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Factory [Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995) Design Patterns - Elements of Reusable Object-Oriented 12/09/201 Software, Addison-Wesley] CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Factory [Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995) Design Patterns - Elements of Reusable Object-Oriented 12/09/201 Software, Addison-Wesley] CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Factory 12/09/201 [Christopher G Lasater (2007) Design Patterns, Wordware Publishing, Inc.] CuuDuongThanCong.com https://fb.com/tailieudientucntt Thảo luận  Trong tình nên nghĩ đến mẫu Factory?  Làm cách để xác định muốn tạo sản phẩm loại từ Factory?  Làm cách để tạo lập sản phẩm theo yêu cầu?  Các biến thể? 12/09/201 CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Prototype [Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995) Design Patterns - Elements of Reusable Object-Oriented 12/09/201 10 Software, Addison-Wesley] CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Builder 12/09/201 15 [Christopher G Lasater (2007) Design Patterns, Wordware Publishing, Inc.] CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Builder 12/09/201 16 [Christopher G Lasater (2007) Design Patterns, Wordware Publishing, Inc.] CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Builder [Christopher G Lasater (2007) Design Patterns, 12/09/201 Wordware Publishing, Inc.] CuuDuongThanCong.com 17 https://fb.com/tailieudientucntt Mẫu Builder [Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995) Design Patterns - Elements of Reusable Object-Oriented 12/09/201 18 Software, Addison-Wesley] CuuDuongThanCong.com https://fb.com/tailieudientucntt Thảo luận  Những tình nên dùng mẫu Builder?  Cách xây dựng đối tượng thành phần?  Những vấn đề khác 12/09/201 CuuDuongThanCong.com 19 https://fb.com/tailieudientucntt Mẫu Abstract Factory [Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995) Design Patterns - Elements of Reusable Object-Oriented 12/09/201 20 Software, Addison-Wesley] CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Abstract Factory 12/09/201 21 [Christopher G Lasater (2007) Design Patterns, Wordware Publishing, Inc.] CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Abstract Factory [Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995) Design Patterns - Elements of Reusable Object-Oriented 12/09/201 22 Software, Addison-Wesley] CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Abstract Factory 12/09/201 23 [Christopher G Lasater (2007) Design Patterns, Wordware Publishing, Inc.] CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Abstract Factory 12/09/201 24 [Christopher G Lasater (2007) Design Patterns, Wordware Publishing, Inc.] CuuDuongThanCong.com https://fb.com/tailieudientucntt Thảo luận  Những tình nên sử dụng mẫu Abstract Factory?  Abstract Factory với Factory Builder?  Những vấn đề khác 12/09/201 CuuDuongThanCong.com 25 https://fb.com/tailieudientucntt Mẫu Singleton [Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995) Design Patterns - Elements of Reusable Object-Oriented 12/09/201 26 Software, Addison-Wesley] CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu Singleton 12/09/201 27 [Christopher G Lasater (2007) Design Patterns, Wordware Publishing, Inc.] CuuDuongThanCong.com https://fb.com/tailieudientucntt Thảo luận  Những tình nên dùng mẫu Singleton?  Có thiết phải “single” – đối tượng nhất?  Làm để quản lý số lượng thể (đối tượng) lớp?  Ràng buộc số lượng xét tồn q trình thực thi ứng dụng hay xét riêng thời điểm? 12/09/201 CuuDuongThanCong.com 28 https://fb.com/tailieudientucntt Tổng kết  Những tính chất chung nhóm mẫu thiết kế Creational Pattern  Những biến thể mẫu thiết kế nhóm Creational Pattern  Những vấn đề khác 12/09/201 CuuDuongThanCong.com 29 https://fb.com/tailieudientucntt ... tưởng mẫu thiết kế  Sự đời ý tưởng mẫu thiết kế  23 mẫu thiết kế nhóm GoF  Nhóm Creational Pattern  Nhóm Behavioral Pattern  Nhóm Structural Pattern  Một số quan điểm cách vận dụng mẫu thiết. .. kế  …  …  Một số nguyên lý lập trình hướng đối tượng CuuDuongThanCong.com https://fb.com/tailieudientucntt Mẫu thiết kế nhóm Creational Pattern      Mẫu Factory Mẫu Abstract Factory Mẫu. .. CuuDuongThanCong.com 28 https://fb.com/tailieudientucntt Tổng kết  Những tính chất chung nhóm mẫu thiết kế Creational Pattern  Những biến thể mẫu thiết kế nhóm Creational Pattern  Những vấn đề khác 12/09/201

Ngày đăng: 11/01/2020, 18:39

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan