Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Programming Foundations: Design Patterns

via LinkedIn Learning

Overview

Learn about key object-oriented design patterns (including the Observer, Decorator, and Factory patterns) that make your development process faster and easier.

Syllabus

Introduction
  • Don't reinvent the wheel
  • What you should know
1. Design Patterns
  • Object-oriented design experience
  • What are design patterns?
  • What are design principles?
2. The Strategy Pattern
  • Revisiting inheritance
  • Limitations of inheritance
  • Trying interfaces
  • Get inspiration from design principles
  • Programming to an interface
  • Applying the principles
  • Exploring the strategy pattern
  • Why HAS-A is better than IS-A
  • Challenge: The Strategy pattern
  • Solution: The Strategy pattern
3. The Adapter Pattern
  • Understanding the adapter pattern
  • The Adapter pattern defined
  • Using the Adapter pattern
  • Challenge: The Adapter pattern
  • Solution: The Adapter pattern
4. The Observer Pattern
  • Understanding the Observer pattern
  • The Observer pattern defined
  • Using the Observer pattern
  • The Observer pattern and loose coupling
  • Challenge: The Observer pattern
  • Solution: The Observer pattern
5. The Decorator Pattern
  • Creating chaos with inheritance
  • Understanding the open-closed principle
  • Extending behavior with composition
  • Understanding the decorator pattern
  • Using the Decorator pattern
  • Challenge: The Decorator pattern
  • Solution: The Decorator pattern
6. The Iterator Pattern
  • Encapsulating iteration
  • Understanding the Iterator pattern
  • Using the Iterator pattern
  • Using built-in iterators
  • The single responsibility principle
  • The iterator pattern as language feature
  • Challenge: The Iterator pattern
  • Solution: The Iterator pattern
7. The Factory Patterns
  • The need for factory patterns
  • The Factory Method pattern
  • Using the Factory Method pattern
  • Challenge: The simple Factory pattern
  • Solution: The simple Factory pattern
Conclusion
  • Applying patterns
  • Where to go from here

Taught by

Elisabeth Robson and Eric Freeman

Reviews

4.7 rating at LinkedIn Learning based on 1516 ratings

Start your review of Programming Foundations: Design Patterns

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.