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

SymfonyCasts

Design Patterns for Fun and Proficiency

via SymfonyCasts

Overview

We all know that building a command-line app where characters battle each other is geek-awesomeness. But what about building that app and learning the most powerful programming design patterns of all time!? We should totally do that!

Design patterns are much more than just scholarly topics: they are time-tested solutions to problems that we developers face every single day. We'll show you the best ones, by actually coding them and seeing how they help. In this tutorial, we've chosen to cover our favorite (and the most useful and common) patterns:

  • An intro to the different types of design patterns
  • The Strategy pattern
  • The Builder pattern
  • The Observer pattern
  • The PubSub pattern
  • The Decorator pattern

And... how any of these look - in the real world - inside of a Symfony app.

Finally sound super hipster when talking with other programmers ("Did you see how I used the Flyweight pattern?"). Oh, and take your Object-Oriented skills to a pro level.

Syllabus

  • Design Patterns & Their Types
  • Strategy Pattern
  • Strategy Part 2: Benefits & In the Wild
  • Builder Pattern
  • Builder Improvements
  • Builder in Symfony & with a Factory
  • The Observer Pattern
  • The Observer Class
  • Observer Inside Symfony + Benefits
  • Publish-Subscriber (PubSub)
  • Pub Sub Event Class & Subscribers in Symfony
  • The Decorator Pattern
  • Decoration with Symfony's Container
  • Decoration: Override Core Services & AsDecorator

Taught by

Diego Aguiar and Ryan Weaver

Reviews

Start your review of Design Patterns for Fun and Proficiency

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.