Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CSC305 Lecture 14
Search
Javier Gonzalez-Sanchez
PRO
October 22, 2024
Programming
0
110
CSC305 Lecture 14
Individual Software Design and Development
Strategy
(202502)
Javier Gonzalez-Sanchez
PRO
October 22, 2024
Tweet
Share
More Decks by Javier Gonzalez-Sanchez
See All by Javier Gonzalez-Sanchez
CSC486 Lecture 12
javiergs
PRO
0
52
CSC486 Lecture 11
javiergs
PRO
0
27
CSC486 Lecture 10
javiergs
PRO
0
51
CSC486 Lecture 08
javiergs
PRO
0
52
CSC486 Lecture 07
javiergs
PRO
0
98
CSC486 Lecture 06
javiergs
PRO
0
81
CSC486 Lecture 05
javiergs
PRO
0
71
CSC486 Lecture 04
javiergs
PRO
0
42
CSC486 Lecture 03
javiergs
PRO
0
27
Other Decks in Programming
See All in Programming
ARA Ansible for the teams
kksat
0
170
苦しいTiDBへの移行を乗り越えて快適な運用を目指す
leveragestech
0
920
PHPカンファレンス名古屋2025 タスク分解の試行錯誤〜レビュー負荷を下げるために〜
soichi
1
650
Open source software: how to live long and go far
gaelvaroquaux
0
650
Formの複雑さに立ち向かう
bmthd
1
900
SwiftUI Viewの責務分離
elmetal
PRO
2
260
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
800
Code smarter, not harder - How AI Coding Tools Boost Your Productivity | Angular Meetup Berlin
danielsogl
0
100
Honoをフロントエンドで使う 3つのやり方
yusukebe
7
3.5k
コードを読んで理解するko build
bells17
1
100
Jakarta EE meets AI
ivargrimstad
0
150
もう少しテストを書きたいんじゃ〜 #phpstudy
o0h
PRO
2
140
Featured
See All Featured
RailsConf 2023
tenderlove
29
1k
Designing for Performance
lara
604
68k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
114
50k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Facilitating Awesome Meetings
lara
52
6.2k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Transcript
Dr. Javier Gonzalez-Sanchez
[email protected]
www.javiergs.info o ffi ce: 14 -227
CSC 305 Individual Software Design and Development Lecture 14. Factory + Strategy
Previously …
Builder 3 https://refactoring.guru/design-patterns/builder
Chain of Responsibility 4
GoF Patterns 5
Abstract Factory
Factory 7
Strategy
Strategy 9
Connecting the Dots
From an Idea 11 Main Factory Gift Ball Box Envelop
From an Idea B 12 Main Factory Gift Ball Box
Envelop Handler Supervisor Bin ShippingStrategy Land Air
To A Software Design (UML Class Diagram) 13
To Code 14
Factory 15
Chain of Responsibilities 16
Decorator 17
Decorator 18
Observer 19
None
Bin 21 In main: In ConcreteHandlerWithBox: In ConcreteHandlerWithEnvelop:
Questions 22
Assignment
Code 24 Main Factory Gift Ball Box Envelop Handler Supervisor
Bin ShippingStrategy Land Air
CSC 305 Individual Software Design and Development Javier Gonzalez-Sanchez, Ph.D.
[email protected]
Winter 2025 Copyright. These slides can only be used as study material for the class CSC305 at Cal Poly. They cannot be distributed or used for another purpose.