-
The Observer Pattern Explained and Implemented in Java | Behavioral Design Patterns | Geekific
Discord Community: https://discord.gg/dK6cB24ATp
GitHub Repository: https://github.com/geekific-official/
In this video, we break down, define and implement in Java the Observer Behavioral Design Pattern.
Timestamps:
00:00 Introduction
00:07 What is the Observer Pattern?
01:24 Simple Observer Example
02:56 Observer Pattern Implementation
04:46 The Observer Pattern Class Diagram
06:08 Recap
06:39 Thanks for Watching!
If you found this video helpful, check other Geekific uploads:
- Introduction to Design Patterns: https://youtu.be/mE3qTp1TEbg
- The Template Method Pattern Explained and Implemented in Java: https://youtu.be/cGoVDzHvD4A
- The Chain of Responsibility Pattern Explained and Implemented in Java: https://youtu.be/FafNcoBvVQo
- The Command Pattern Explained and Implem...
published: 28 Aug 2021
-
Observer Pattern – Design Patterns (ep 2)
Video series on Design Patterns for Object Oriented Languages. This time we look at Observer Pattern.
💙 BUY MY BOOK:
https://leanpub.com/the-object-oriented-way/
► The playlist
https://www.youtube.com/playlist?list=PLrhzvIcii6GNjpARdnO4ueTUAVR9eMBpc
► Head First: Design Patterns
https://geni.us/nlbA6
► Design Patterns: Elements of Reusable Object-Oriented Software
https://geni.us/PsXmo
💪 Patreon Community
https://www.patreon.com/christopherokhravi
📚 Products I Recommend
https://geni.us/71ZXF
published: 01 Feb 2017
-
Observer Design Pattern in Java
The observer pattern is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods.
Design Pattern in Java : https://www.youtube.com/watch?v=tDxnyop48mY&list=PLsyeobzWxl7r2ZX1fl-7CKnayxHJA_1ol
published: 11 Jul 2019
-
10 Design Patterns Explained in 10 Minutes
Software design patterns help developers to solve common recurring problems with code. Let's explore 10 patterns from the famous Gang of Four book and implement them with JavaScript and TypeScript https://fireship.io/lessons/typescript-design-patterns
#programming #compsci #learntocode
🔗 Resources
Learn more from Refactoring Guru https://refactoring.guru/design-patterns/
GOF Design Patterns Book https://en.wikipedia.org/wiki/Design_Patterns
Criticism of Design Patterns https://blog.codinghorror.com/rethinking-design-patterns/
📚 Chapters
00:00 Design Patterns
01:00 What are Software Design Patterns?
01:34 Singleton
02:24 Prototype
03:46 Builder
04:23 Factory
04:54 Facade
05:47 Proxy
06:45 Iterator
07:47 Observer
08:58 Mediator
09:50 State
🔥 Get More Content - Upgrade to PRO
Upgrade ...
published: 14 Mar 2022
-
Observer Pattern Tutorial
In this exciting tutorial we are going to learn about the observer pattern. Not your typical observer pattern tutorial. We toss the wikipedia article aside and apply the observer pattern to a game.
The game is simple, click the buttons at the top of the screen and the characters will perform the action. We coordinate the actions through the observer pattern.
At its core the pattern revolves around a subject that the observer will observe. The subject has a list of observers(one-to-many relationship). Observers can choose to register with the subject. The subject at any point in time can notify the observers by looping through all observers and calling the update method.
For example let's say the our subject is the YouTube channel Coding With Adam. The observers would be YouTube users...
published: 01 Nov 2021
-
How to Program in Unity: Observer Pattern Explained
Learn the fundamentals of the Observer Pattern in this new video break down and create a dynamic narration system just like in the game "Bastion" by SuperGiant Games!
This tutorial will teach you how to program and design systems in unity that communicate seamlessly while remaining easy to debug, scale, and maintain. Learn the power of decoupled code and elevate your game development skills to the next level!
This is a new episode in a growing series on this channel: Programming for Production. In this series, we take relatively complex software development topics and try to explain them in easy-to-understand ways. Let's take our programming skills to the next level!
ACCESS PROJECT FILES & SUPPORT THE CHANNEL:
💛 https://www.patreon.com/posts/project-files-to-77632739
❤️ https://www.yout...
published: 26 Jan 2023
-
Observer Pattern Tutorial: I NEVER Knew Events Were THIS Powerful 🚀
This tutorial on the observer pattern is the fourth part of my series on how to write better Python code, I show you how to use events to write code that's really easy to change and extend. Events are a variant of the observer / listener design pattern. This video is inspired by a real-life example I recently encountered, where implementing an event-based approach provided a great solution to a design problem I had. Next to showing how to use events in your code, you'll also see what the effect is on the cohesion and coupling of the functions you write.
All parts in this series:
Part 1: Cohesion and coupling - https://youtu.be/eiDyK_ofPPM
Part 2: Dependency inversion - https://youtu.be/Kv5jhbSkqLE
Part 3: The strategy pattern - https://youtu.be/WQ8bNdxREHU
Part 4: The observer pattern - h...
published: 19 Feb 2021
-
Observer Design Pattern
Get the Code: http://goo.gl/EYGnQ
Best Design Patterns Book : http://goo.gl/W0wyie
MY UDEMY COURSES ARE 87.5% OFF TIL July 16th ($9.99)
https://www.udemy.com/
➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_35
➡️ New C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_35
Welcome to my Observer Design Pattern Tutorial. I cover a lot in this tutorial including the Observer pattern, how to use it with threads and much more.
The Observer pattern is a software design pattern in which an object, called the subject (Publisher), maintains a list of its dependents, called observers (Subscribers),...
published: 29 Aug 2012
-
BattleShipGame Nhóm 22
0:00 Giới Thiệu Nhóm - Game
2:48 Factory Pattern - Đặng Minh Hoàng
5:26 MVC Pattern - Võ Anh Hào
8:43 Strategy Pattern - Nguyễn Đào Khánh Tâm
11:16 Observer Pattern - Nguyễn Mạnh Hùng
14:10 Singleton Pattern - Ngô Quang Nhật
published: 06 Jul 2024
-
What is the Observer Pattern? (Software Design Patterns)
In this video, learn why the Observer Pattern is such an important design pattern. I tell you what the observer pattern is, how it works, and explain it with an example.
Become a Better Developer Using the Courses I Recommend Below:
- Master FAANG Coding Interviews - https://bit.ly/3CVgRN9
- Learn AWS From Scratch - https://bit.ly/3gasoAm
- Master Python here - https://bit.ly/3yJFJpI
Head First Design Patterns - https://amzn.to/36r8aJT
📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
Clean Code - https://amzn.to/37T7xdP
Clean Architecture - https://amzn.to/3sCEGCe
Head First Design Patterns - https://amzn.to/37WXAMy
Domain Driver Design - https://amzn.to/3aWSW2W
Code Complete - https://amzn.to/3ksQDrB
The Pragmatic Programmer - https://amzn.to/3uH4kaQ
Algorithms - https://a...
published: 05 Nov 2020
6:49
The Observer Pattern Explained and Implemented in Java | Behavioral Design Patterns | Geekific
Discord Community: https://discord.gg/dK6cB24ATp
GitHub Repository: https://github.com/geekific-official/
In this video, we break down, define and implement i...
Discord Community: https://discord.gg/dK6cB24ATp
GitHub Repository: https://github.com/geekific-official/
In this video, we break down, define and implement in Java the Observer Behavioral Design Pattern.
Timestamps:
00:00 Introduction
00:07 What is the Observer Pattern?
01:24 Simple Observer Example
02:56 Observer Pattern Implementation
04:46 The Observer Pattern Class Diagram
06:08 Recap
06:39 Thanks for Watching!
If you found this video helpful, check other Geekific uploads:
- Introduction to Design Patterns: https://youtu.be/mE3qTp1TEbg
- The Template Method Pattern Explained and Implemented in Java: https://youtu.be/cGoVDzHvD4A
- The Chain of Responsibility Pattern Explained and Implemented in Java: https://youtu.be/FafNcoBvVQo
- The Command Pattern Explained and Implemented in Java: https://youtu.be/UfGD60BYzPM
- Object-Oriented Programming Fundamentals: https://youtu.be/Vfk6sExu8-4
- SOLID Principles and Best Practices: https://youtu.be/HoA6aZPR5K0
#Geekific #DesignPatterns #ObserverPattern #BehavioralPatterns
https://wn.com/The_Observer_Pattern_Explained_And_Implemented_In_Java_|_Behavioral_Design_Patterns_|_Geekific
Discord Community: https://discord.gg/dK6cB24ATp
GitHub Repository: https://github.com/geekific-official/
In this video, we break down, define and implement in Java the Observer Behavioral Design Pattern.
Timestamps:
00:00 Introduction
00:07 What is the Observer Pattern?
01:24 Simple Observer Example
02:56 Observer Pattern Implementation
04:46 The Observer Pattern Class Diagram
06:08 Recap
06:39 Thanks for Watching!
If you found this video helpful, check other Geekific uploads:
- Introduction to Design Patterns: https://youtu.be/mE3qTp1TEbg
- The Template Method Pattern Explained and Implemented in Java: https://youtu.be/cGoVDzHvD4A
- The Chain of Responsibility Pattern Explained and Implemented in Java: https://youtu.be/FafNcoBvVQo
- The Command Pattern Explained and Implemented in Java: https://youtu.be/UfGD60BYzPM
- Object-Oriented Programming Fundamentals: https://youtu.be/Vfk6sExu8-4
- SOLID Principles and Best Practices: https://youtu.be/HoA6aZPR5K0
#Geekific #DesignPatterns #ObserverPattern #BehavioralPatterns
- published: 28 Aug 2021
- views: 100590
49:47
Observer Pattern – Design Patterns (ep 2)
Video series on Design Patterns for Object Oriented Languages. This time we look at Observer Pattern.
💙 BUY MY BOOK:
https://leanpub.com/the-object-oriented-wa...
Video series on Design Patterns for Object Oriented Languages. This time we look at Observer Pattern.
💙 BUY MY BOOK:
https://leanpub.com/the-object-oriented-way/
► The playlist
https://www.youtube.com/playlist?list=PLrhzvIcii6GNjpARdnO4ueTUAVR9eMBpc
► Head First: Design Patterns
https://geni.us/nlbA6
► Design Patterns: Elements of Reusable Object-Oriented Software
https://geni.us/PsXmo
💪 Patreon Community
https://www.patreon.com/christopherokhravi
📚 Products I Recommend
https://geni.us/71ZXF
https://wn.com/Observer_Pattern_–_Design_Patterns_(Ep_2)
Video series on Design Patterns for Object Oriented Languages. This time we look at Observer Pattern.
💙 BUY MY BOOK:
https://leanpub.com/the-object-oriented-way/
► The playlist
https://www.youtube.com/playlist?list=PLrhzvIcii6GNjpARdnO4ueTUAVR9eMBpc
► Head First: Design Patterns
https://geni.us/nlbA6
► Design Patterns: Elements of Reusable Object-Oriented Software
https://geni.us/PsXmo
💪 Patreon Community
https://www.patreon.com/christopherokhravi
📚 Products I Recommend
https://geni.us/71ZXF
- published: 01 Feb 2017
- views: 557009
14:34
Observer Design Pattern in Java
The observer pattern is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and notifies the...
The observer pattern is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods.
Design Pattern in Java : https://www.youtube.com/watch?v=tDxnyop48mY&list=PLsyeobzWxl7r2ZX1fl-7CKnayxHJA_1ol
https://wn.com/Observer_Design_Pattern_In_Java
The observer pattern is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods.
Design Pattern in Java : https://www.youtube.com/watch?v=tDxnyop48mY&list=PLsyeobzWxl7r2ZX1fl-7CKnayxHJA_1ol
- published: 11 Jul 2019
- views: 165236
11:04
10 Design Patterns Explained in 10 Minutes
Software design patterns help developers to solve common recurring problems with code. Let's explore 10 patterns from the famous Gang of Four book and implement...
Software design patterns help developers to solve common recurring problems with code. Let's explore 10 patterns from the famous Gang of Four book and implement them with JavaScript and TypeScript https://fireship.io/lessons/typescript-design-patterns
#programming #compsci #learntocode
🔗 Resources
Learn more from Refactoring Guru https://refactoring.guru/design-patterns/
GOF Design Patterns Book https://en.wikipedia.org/wiki/Design_Patterns
Criticism of Design Patterns https://blog.codinghorror.com/rethinking-design-patterns/
📚 Chapters
00:00 Design Patterns
01:00 What are Software Design Patterns?
01:34 Singleton
02:24 Prototype
03:46 Builder
04:23 Factory
04:54 Facade
05:47 Proxy
06:45 Iterator
07:47 Observer
08:58 Mediator
09:50 State
🔥 Get More Content - Upgrade to PRO
Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- TypeScript and JavaScript Design Patterns
- Algorithm vs Design Pattern
- What is Gang of four?
- Are design patterns still relevant?
- Design patterns basics tutorial
https://wn.com/10_Design_Patterns_Explained_In_10_Minutes
Software design patterns help developers to solve common recurring problems with code. Let's explore 10 patterns from the famous Gang of Four book and implement them with JavaScript and TypeScript https://fireship.io/lessons/typescript-design-patterns
#programming #compsci #learntocode
🔗 Resources
Learn more from Refactoring Guru https://refactoring.guru/design-patterns/
GOF Design Patterns Book https://en.wikipedia.org/wiki/Design_Patterns
Criticism of Design Patterns https://blog.codinghorror.com/rethinking-design-patterns/
📚 Chapters
00:00 Design Patterns
01:00 What are Software Design Patterns?
01:34 Singleton
02:24 Prototype
03:46 Builder
04:23 Factory
04:54 Facade
05:47 Proxy
06:45 Iterator
07:47 Observer
08:58 Mediator
09:50 State
🔥 Get More Content - Upgrade to PRO
Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- TypeScript and JavaScript Design Patterns
- Algorithm vs Design Pattern
- What is Gang of four?
- Are design patterns still relevant?
- Design patterns basics tutorial
- published: 14 Mar 2022
- views: 2505076
15:40
Observer Pattern Tutorial
In this exciting tutorial we are going to learn about the observer pattern. Not your typical observer pattern tutorial. We toss the wikipedia article aside and ...
In this exciting tutorial we are going to learn about the observer pattern. Not your typical observer pattern tutorial. We toss the wikipedia article aside and apply the observer pattern to a game.
The game is simple, click the buttons at the top of the screen and the characters will perform the action. We coordinate the actions through the observer pattern.
At its core the pattern revolves around a subject that the observer will observe. The subject has a list of observers(one-to-many relationship). Observers can choose to register with the subject. The subject at any point in time can notify the observers by looping through all observers and calling the update method.
For example let's say the our subject is the YouTube channel Coding With Adam. The observers would be YouTube users. YouTube users can register with the subject by subscribing. When the YouTube channel owner(subject) uploads a new video they can notify all subscribers(observers).
Learn more by watching the video.
Github:
https://github.com/CodingWith-Adam/observer-pattern
Try it here:
https://codingwith-adam.github.io/observer-pattern/index.html
https://wn.com/Observer_Pattern_Tutorial
In this exciting tutorial we are going to learn about the observer pattern. Not your typical observer pattern tutorial. We toss the wikipedia article aside and apply the observer pattern to a game.
The game is simple, click the buttons at the top of the screen and the characters will perform the action. We coordinate the actions through the observer pattern.
At its core the pattern revolves around a subject that the observer will observe. The subject has a list of observers(one-to-many relationship). Observers can choose to register with the subject. The subject at any point in time can notify the observers by looping through all observers and calling the update method.
For example let's say the our subject is the YouTube channel Coding With Adam. The observers would be YouTube users. YouTube users can register with the subject by subscribing. When the YouTube channel owner(subject) uploads a new video they can notify all subscribers(observers).
Learn more by watching the video.
Github:
https://github.com/CodingWith-Adam/observer-pattern
Try it here:
https://codingwith-adam.github.io/observer-pattern/index.html
- published: 01 Nov 2021
- views: 4770
15:57
How to Program in Unity: Observer Pattern Explained
Learn the fundamentals of the Observer Pattern in this new video break down and create a dynamic narration system just like in the game "Bastion" by SuperGiant ...
Learn the fundamentals of the Observer Pattern in this new video break down and create a dynamic narration system just like in the game "Bastion" by SuperGiant Games!
This tutorial will teach you how to program and design systems in unity that communicate seamlessly while remaining easy to debug, scale, and maintain. Learn the power of decoupled code and elevate your game development skills to the next level!
This is a new episode in a growing series on this channel: Programming for Production. In this series, we take relatively complex software development topics and try to explain them in easy-to-understand ways. Let's take our programming skills to the next level!
ACCESS PROJECT FILES & SUPPORT THE CHANNEL:
💛 https://www.patreon.com/posts/project-files-to-77632739
❤️ https://www.youtube.com/iHeartGameDev/join
WANT MORE?
Interested in learning more about animating characters in Unity? Check out my growing series of tutorials:
✅ https://youtube.com/playlist?list=PLwyUzJb_FNeTQwyGujWRLqnfKpV-cj-eO
✦ Like the vid? Please consider Subscribing!
https://bit.ly/2YdIb6j
✦ Missed out on the last episode?
https://youtu.be/bXNFxQpp2qk
SOCIAL:
✦ Discord
https://discord.gg/2AxUvsa
✦ Twitter
https://twitter.com/iHeartGameDev
►TIMESTAMPS:
0:00 Intro
0:49 The Problem and Solution
1:24 Coupled Code Explained
1:52 Pseudocode Example
3:43 The Observer Pattern
5:00 Implementing the Observer Pattern
7:58 Bastion Narration System
13:45 Handling Multiple Actions
14:17 Final Result
14:52 Outro
Thank you for stopping by and checking out my tutorial -- Hope you all enjoy! Please feel free to leave any questions & feedback you may have. This will help shape the direction and style for upcoming videos!
Thanks again for watching!
#indiegame #gamedev #indiedev #2023
https://wn.com/How_To_Program_In_Unity_Observer_Pattern_Explained
Learn the fundamentals of the Observer Pattern in this new video break down and create a dynamic narration system just like in the game "Bastion" by SuperGiant Games!
This tutorial will teach you how to program and design systems in unity that communicate seamlessly while remaining easy to debug, scale, and maintain. Learn the power of decoupled code and elevate your game development skills to the next level!
This is a new episode in a growing series on this channel: Programming for Production. In this series, we take relatively complex software development topics and try to explain them in easy-to-understand ways. Let's take our programming skills to the next level!
ACCESS PROJECT FILES & SUPPORT THE CHANNEL:
💛 https://www.patreon.com/posts/project-files-to-77632739
❤️ https://www.youtube.com/iHeartGameDev/join
WANT MORE?
Interested in learning more about animating characters in Unity? Check out my growing series of tutorials:
✅ https://youtube.com/playlist?list=PLwyUzJb_FNeTQwyGujWRLqnfKpV-cj-eO
✦ Like the vid? Please consider Subscribing!
https://bit.ly/2YdIb6j
✦ Missed out on the last episode?
https://youtu.be/bXNFxQpp2qk
SOCIAL:
✦ Discord
https://discord.gg/2AxUvsa
✦ Twitter
https://twitter.com/iHeartGameDev
►TIMESTAMPS:
0:00 Intro
0:49 The Problem and Solution
1:24 Coupled Code Explained
1:52 Pseudocode Example
3:43 The Observer Pattern
5:00 Implementing the Observer Pattern
7:58 Bastion Narration System
13:45 Handling Multiple Actions
14:17 Final Result
14:52 Outro
Thank you for stopping by and checking out my tutorial -- Hope you all enjoy! Please feel free to leave any questions & feedback you may have. This will help shape the direction and style for upcoming videos!
Thanks again for watching!
#indiegame #gamedev #indiedev #2023
- published: 26 Jan 2023
- views: 109704
15:17
Observer Pattern Tutorial: I NEVER Knew Events Were THIS Powerful 🚀
This tutorial on the observer pattern is the fourth part of my series on how to write better Python code, I show you how to use events to write code that's real...
This tutorial on the observer pattern is the fourth part of my series on how to write better Python code, I show you how to use events to write code that's really easy to change and extend. Events are a variant of the observer / listener design pattern. This video is inspired by a real-life example I recently encountered, where implementing an event-based approach provided a great solution to a design problem I had. Next to showing how to use events in your code, you'll also see what the effect is on the cohesion and coupling of the functions you write.
All parts in this series:
Part 1: Cohesion and coupling - https://youtu.be/eiDyK_ofPPM
Part 2: Dependency inversion - https://youtu.be/Kv5jhbSkqLE
Part 3: The strategy pattern - https://youtu.be/WQ8bNdxREHU
Part 4: The observer pattern - https://youtu.be/oNalXg67XEE
Part 5: Unit testing and code coverage - https://youtu.be/jmP3fp_BhmE
Part 6: Template method and bridge - https://youtu.be/t0mCrXHsLbI
Part 7: Exception handling - https://youtu.be/ZsvftkbbrR0
Part 7b: Monadic error handling - https://youtu.be/J-HWmoTKhC8
Part 8: Software architecture - https://youtu.be/ihtIcGkTFBU
Part 9: SOLID principles - https://youtu.be/pTB30aXS77U
Part 10: Object creation patterns - https://youtu.be/Rm4JP7JfsKY
💡Here's my FREE 7-step guide to help you consistently design great software: https://arjancodes.com/designguide.
Relevant books:
- Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides: https://amzn.to/3jllgyH
- Principles of Package Design: Creating Reusable Software Components by Matthias Noback: https://amzn.to/2NETK3l
- Clean Code: A Handbook of Agile Software Craftsmanship by Robert Martin: https://amzn.to/3qVZgNs
- The original Design Principles and Design Patterns article by Robert Martin: https://fi.ort.edu.uy/innovaportal/file/2032/1/design_principles.pdf
🎓 Courses:
The Software Designer Mindset: https://www.arjancodes.com/mindset
The Software Designer Mindset Team Packages: https://www.arjancodes.com/sas
The Software Architect Mindset: Pre-register now! https://www.arjancodes.com/architect
Next Level Python: Become a Python Expert: https://www.arjancodes.com/next-level-python
The 30-Day Design Challenge: https://www.arjancodes.com/30ddc
🛒 GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes.
You can find the code I worked on in this episode in my GitHub repository: https://github.com/arjancodes/betterpython
🔖 Chapters:
0:00 Intro
1:24 Explaining the code example
3:16 Analysis
4:45 Creating a simple event handler
7:19 Moving to an event-based approach
10:40 The complete solution
12:44 The power of an event-based system
14:12 Final thoughts
👍 If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel!
DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!
https://wn.com/Observer_Pattern_Tutorial_I_Never_Knew_Events_Were_This_Powerful_🚀
This tutorial on the observer pattern is the fourth part of my series on how to write better Python code, I show you how to use events to write code that's really easy to change and extend. Events are a variant of the observer / listener design pattern. This video is inspired by a real-life example I recently encountered, where implementing an event-based approach provided a great solution to a design problem I had. Next to showing how to use events in your code, you'll also see what the effect is on the cohesion and coupling of the functions you write.
All parts in this series:
Part 1: Cohesion and coupling - https://youtu.be/eiDyK_ofPPM
Part 2: Dependency inversion - https://youtu.be/Kv5jhbSkqLE
Part 3: The strategy pattern - https://youtu.be/WQ8bNdxREHU
Part 4: The observer pattern - https://youtu.be/oNalXg67XEE
Part 5: Unit testing and code coverage - https://youtu.be/jmP3fp_BhmE
Part 6: Template method and bridge - https://youtu.be/t0mCrXHsLbI
Part 7: Exception handling - https://youtu.be/ZsvftkbbrR0
Part 7b: Monadic error handling - https://youtu.be/J-HWmoTKhC8
Part 8: Software architecture - https://youtu.be/ihtIcGkTFBU
Part 9: SOLID principles - https://youtu.be/pTB30aXS77U
Part 10: Object creation patterns - https://youtu.be/Rm4JP7JfsKY
💡Here's my FREE 7-step guide to help you consistently design great software: https://arjancodes.com/designguide.
Relevant books:
- Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides: https://amzn.to/3jllgyH
- Principles of Package Design: Creating Reusable Software Components by Matthias Noback: https://amzn.to/2NETK3l
- Clean Code: A Handbook of Agile Software Craftsmanship by Robert Martin: https://amzn.to/3qVZgNs
- The original Design Principles and Design Patterns article by Robert Martin: https://fi.ort.edu.uy/innovaportal/file/2032/1/design_principles.pdf
🎓 Courses:
The Software Designer Mindset: https://www.arjancodes.com/mindset
The Software Designer Mindset Team Packages: https://www.arjancodes.com/sas
The Software Architect Mindset: Pre-register now! https://www.arjancodes.com/architect
Next Level Python: Become a Python Expert: https://www.arjancodes.com/next-level-python
The 30-Day Design Challenge: https://www.arjancodes.com/30ddc
🛒 GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes.
You can find the code I worked on in this episode in my GitHub repository: https://github.com/arjancodes/betterpython
🔖 Chapters:
0:00 Intro
1:24 Explaining the code example
3:16 Analysis
4:45 Creating a simple event handler
7:19 Moving to an event-based approach
10:40 The complete solution
12:44 The power of an event-based system
14:12 Final thoughts
👍 If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel!
DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!
- published: 19 Feb 2021
- views: 196789
22:27
Observer Design Pattern
Get the Code: http://goo.gl/EYGnQ
Best Design Patterns Book : http://goo.gl/W0wyie
MY UDEMY COURSES ARE 87.5% OFF TIL July 16th ($9.99)
https://www.udemy.com/...
Get the Code: http://goo.gl/EYGnQ
Best Design Patterns Book : http://goo.gl/W0wyie
MY UDEMY COURSES ARE 87.5% OFF TIL July 16th ($9.99)
https://www.udemy.com/
➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_35
➡️ New C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_35
Welcome to my Observer Design Pattern Tutorial. I cover a lot in this tutorial including the Observer pattern, how to use it with threads and much more.
The Observer pattern is a software design pattern in which an object, called the subject (Publisher), maintains a list of its dependents, called observers (Subscribers), and notifies them automatically of any state changes, usually by calling one of their methods.
https://wn.com/Observer_Design_Pattern
Get the Code: http://goo.gl/EYGnQ
Best Design Patterns Book : http://goo.gl/W0wyie
MY UDEMY COURSES ARE 87.5% OFF TIL July 16th ($9.99)
https://www.udemy.com/
➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_35
➡️ New C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_35
Welcome to my Observer Design Pattern Tutorial. I cover a lot in this tutorial including the Observer pattern, how to use it with threads and much more.
The Observer pattern is a software design pattern in which an object, called the subject (Publisher), maintains a list of its dependents, called observers (Subscribers), and notifies them automatically of any state changes, usually by calling one of their methods.
- published: 29 Aug 2012
- views: 660221
16:36
BattleShipGame Nhóm 22
0:00 Giới Thiệu Nhóm - Game
2:48 Factory Pattern - Đặng Minh Hoàng
5:26 MVC Pattern - Võ Anh Hào
8:43 Strategy Pattern - Nguyễn Đào Khánh Tâm
11:16 Observer Pa...
0:00 Giới Thiệu Nhóm - Game
2:48 Factory Pattern - Đặng Minh Hoàng
5:26 MVC Pattern - Võ Anh Hào
8:43 Strategy Pattern - Nguyễn Đào Khánh Tâm
11:16 Observer Pattern - Nguyễn Mạnh Hùng
14:10 Singleton Pattern - Ngô Quang Nhật
https://wn.com/Battleshipgame_Nhóm_22
0:00 Giới Thiệu Nhóm - Game
2:48 Factory Pattern - Đặng Minh Hoàng
5:26 MVC Pattern - Võ Anh Hào
8:43 Strategy Pattern - Nguyễn Đào Khánh Tâm
11:16 Observer Pattern - Nguyễn Mạnh Hùng
14:10 Singleton Pattern - Ngô Quang Nhật
- published: 06 Jul 2024
- views: 86
21:49
What is the Observer Pattern? (Software Design Patterns)
In this video, learn why the Observer Pattern is such an important design pattern. I tell you what the observer pattern is, how it works, and explain it with an...
In this video, learn why the Observer Pattern is such an important design pattern. I tell you what the observer pattern is, how it works, and explain it with an example.
Become a Better Developer Using the Courses I Recommend Below:
- Master FAANG Coding Interviews - https://bit.ly/3CVgRN9
- Learn AWS From Scratch - https://bit.ly/3gasoAm
- Master Python here - https://bit.ly/3yJFJpI
Head First Design Patterns - https://amzn.to/36r8aJT
📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
Clean Code - https://amzn.to/37T7xdP
Clean Architecture - https://amzn.to/3sCEGCe
Head First Design Patterns - https://amzn.to/37WXAMy
Domain Driver Design - https://amzn.to/3aWSW2W
Code Complete - https://amzn.to/3ksQDrB
The Pragmatic Programmer - https://amzn.to/3uH4kaQ
Algorithms - https://amzn.to/3syvyP5
Working Effectively with Legacy Code - https://amzn.to/3kvMza7
Refactoring - https://amzn.to/3r6FQ8U
🎙 MY RECORDING EQUIPMENT 🎙
Shure SM58 Microphone - https://amzn.to/3r5Hrf9
Behringer UM2 Audio Interface - https://amzn.to/2MuEllM
XLR Cable - https://amzn.to/3uGyZFx
Acoustic Sound Absorbing Foam Panels - https://amzn.to/3ktIrY6
Desk Microphone Mount - https://amzn.to/3qXMVIO
Logitech C920s Webcam - https://amzn.to/303zGu9
Fujilm XS10 Camera - https://amzn.to/3uGa30E
Fujifilm XF 35mm F2 Lens - https://amzn.to/3rentPe
Neewer 2 Piece Studio Lights - https://amzn.to/3uyoa8p
💻 MY DESKTOP EQUIPMENT 💻
Dell 34 inch Ultrawide Monitor - https://amzn.to/2NJwph6
Autonomous ErgoChair 2 - https://bit.ly/2YzomEm
Autonomous SmartDesk 2 Standing Desk - https://bit.ly/2YzomEm
MX Master 3 Productivity Mouse - https://amzn.to/3aYwKVZ
Das Keyboard Prime 13 MX Brown Mechanical- https://amzn.to/3uH6VBF
Veikk A15 Drawing Tablet - https://amzn.to/3uBRWsN
Code: https://github.com/beabetterdevv/DesignPatterns/tree/master/patterns/observer
🌎 Find me here:
Twitter - https://twitter.com/Beabetterdevv
Instagram - https://www.instagram.com/beabetterdevv/
Patreon - Donations help fund additional content - https://www.patreon.com/beabetterdev
#DesignPatterns
#ObserverPattern
#SoftwareDesign
#SoftwareEngineer
https://wn.com/What_Is_The_Observer_Pattern_(Software_Design_Patterns)
In this video, learn why the Observer Pattern is such an important design pattern. I tell you what the observer pattern is, how it works, and explain it with an example.
Become a Better Developer Using the Courses I Recommend Below:
- Master FAANG Coding Interviews - https://bit.ly/3CVgRN9
- Learn AWS From Scratch - https://bit.ly/3gasoAm
- Master Python here - https://bit.ly/3yJFJpI
Head First Design Patterns - https://amzn.to/36r8aJT
📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
Clean Code - https://amzn.to/37T7xdP
Clean Architecture - https://amzn.to/3sCEGCe
Head First Design Patterns - https://amzn.to/37WXAMy
Domain Driver Design - https://amzn.to/3aWSW2W
Code Complete - https://amzn.to/3ksQDrB
The Pragmatic Programmer - https://amzn.to/3uH4kaQ
Algorithms - https://amzn.to/3syvyP5
Working Effectively with Legacy Code - https://amzn.to/3kvMza7
Refactoring - https://amzn.to/3r6FQ8U
🎙 MY RECORDING EQUIPMENT 🎙
Shure SM58 Microphone - https://amzn.to/3r5Hrf9
Behringer UM2 Audio Interface - https://amzn.to/2MuEllM
XLR Cable - https://amzn.to/3uGyZFx
Acoustic Sound Absorbing Foam Panels - https://amzn.to/3ktIrY6
Desk Microphone Mount - https://amzn.to/3qXMVIO
Logitech C920s Webcam - https://amzn.to/303zGu9
Fujilm XS10 Camera - https://amzn.to/3uGa30E
Fujifilm XF 35mm F2 Lens - https://amzn.to/3rentPe
Neewer 2 Piece Studio Lights - https://amzn.to/3uyoa8p
💻 MY DESKTOP EQUIPMENT 💻
Dell 34 inch Ultrawide Monitor - https://amzn.to/2NJwph6
Autonomous ErgoChair 2 - https://bit.ly/2YzomEm
Autonomous SmartDesk 2 Standing Desk - https://bit.ly/2YzomEm
MX Master 3 Productivity Mouse - https://amzn.to/3aYwKVZ
Das Keyboard Prime 13 MX Brown Mechanical- https://amzn.to/3uH6VBF
Veikk A15 Drawing Tablet - https://amzn.to/3uBRWsN
Code: https://github.com/beabetterdevv/DesignPatterns/tree/master/patterns/observer
🌎 Find me here:
Twitter - https://twitter.com/Beabetterdevv
Instagram - https://www.instagram.com/beabetterdevv/
Patreon - Donations help fund additional content - https://www.patreon.com/beabetterdev
#DesignPatterns
#ObserverPattern
#SoftwareDesign
#SoftwareEngineer
- published: 05 Nov 2020
- views: 21100