Released
12/13/2013- What are design patterns?
- Encapsulating code that varies with the strategy pattern
- Setting behavior dynamically
- Implementing the observer pattern
- Creating chaos with inheritance
- Extending behavior with composition
- Dealing with multithreading and the singleton pattern
- Revising the design for a state machine
- Encapsulating iteration with the collection pattern
- Encapsulating object creation with the factory method pattern
Skill Level Intermediate
Duration
Views
- [Voiceover] Hi, I'm Eric Freeman and welcome to Foundations of Programming Design Patterns. - [Voiceover] And I'm Elizabeth Robson. Together, Eric and I will be your tour guides for this course. - [Voiceover] So what are design patterns? They're solutions to common software design problems that occur over and over in software development. - [Voiceover] We'll start by showing you how to dynamically change the behavior of your classes with the strategy, decorator, and state patterns. Then we'll show you how to manage communication between objects with the observer pattern. Next, we'll show you how to manage object creation with the singleton pattern and we'll show you how to encapsulate those aspects of your code that are likely to change with the iterator and factory patterns.
- [Voiceover] I'll start off by giving a broad overview of each design pattern to introduce the concepts and to describe how the pattern works. - [Voiceover] And then I'll dive a little deeper into the pattern and show you how to implement a design in code. This is where you get to see the design patterns in action. - [Voiceover] We've got a lot to cover so let's get started.
Q: How do I import the exercise files in Eclipse?



-
Introduction
-
Welcome1m 1s
-
Using the exercise files1m 53s
-
-
1. Design Patterns
-
Using design patterns1m 38s
-
2. The Strategy Pattern
-
Programming to an interface3m 13s
-
Setting behavior dynamically4m 41s
-
3. The Observer Pattern
-
4. The Decorator Pattern
-
Using java.io decorators1m 39s
-
5. The Singleton Pattern
-
Dealing with multithreading1m 31s
-
6. The State Pattern
-
What is a state machine?3m 46s
-
-
7. The Collection Pattern
-
Encapsulating iteration1m 3s
-
-
8. Factories
-
Conclusion
-
Additional resources2m 49s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Welcome