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

SymfonyCasts

Write SOLID Code & Impress your Friends

via SymfonyCasts

Overview

Sure, writing object-oriented code starts with mastering the fundamentals: classes, objects, properties, etc. But without some guiding principles, writing object-oriented code is like using power tools... with no plan about what you're building! You will build something... but you might not be happy with the result... and the next programmer to see the project definitely won't be!

Say hello to SOLID: 5 famous principles, each designed to guide how you write object-oriented code so that it is flexible, understandable, and (most importantly) impresses your friends. In this course, we'll master these principles in a practical, real-world way:

  • Single responsibility
  • Open–closed
  • Liskov substitution
  • Interface segregation
  • Dinosaurs ?, I mean Dependency inversion

Let's sharpen our tools and write some great code!

Syllabus

  • SOLID: The Good, The Bad & The Real World
  • Single-Responsibility Principle: What is it?
  • SRP: Responsibilities
  • Refactoring for SRP
  • SRP: Takeaways
  • Open–Closed Principle
  • OCP: Autoconfiguration & tagged_iterator
  • OCP: Takeaways
  • Liskov Substitution Principle
  • Liskov: Unexpected Exceptions
  • Liskov: Substituting a Class
  • Liskov: What Changes *Are* Allowed?
  • Liskov Takeaways & Service Alias
  • Interface Segregation Principle
  • ISP: Refactoring & Takeaways
  • Dependency Inversion Principle
  • Refactoring Towards Dependency Inversion
  • DIP: Takeaways

Taught by

Diego Aguiar and Ryan Weaver

Reviews

Start your review of Write SOLID Code & Impress your Friends

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.