Back Button PHP

SOLID Principles in PHP

SOLID represents a series of guidelines that developers can use to, if done well, simplify and clarify their code. While certainly not laws, understanding these concepts will make you a better developer.

Advanced
Difficulty
5 episodes
57:12 mins
Start Series
    1. Run Time 12:13 Free

      The most popular of the SOLID design principles, the single responsibility principle dictates that a class should have only one reason to change. To illustrate this a bit more, let's dig into a simple example.

    2. Run Time 13:22

      Open-Closed? Huh? This is one of those principles that developers often skip over. Don't! These techniques are paramount to mature design.

    3. Run Time 9:34

      Coined by Barbara Liskov, this principle states that any implementation of an abstraction (interface) should be substitutable in any place that the abstraction is accepted.

    4. The Interface Segregation Principle states that a client should never be forced to implement an interface that it doesn’t use. As you'll find, this all comes down to knowledge. Learn what I mean by that in this lesson.

    5. There's a common misunderstanding that "dependency inversion" is simply another way to say "dependency injection." However, the two are not the same. So let's dive in and figure this out!

You May Also Enjoy...

Here are some additional series that may be up your alley.

PHP Object-Oriented Bootcamp
Beginner
Difficulty

As wonderful as Laravel is, it does assume that you have a basic understanding of object-oriented programming. If you don't, that's okay, we all were...

1:59:19 hrs
Play
PHP PHP 7 Up and Running
Intermediate
Difficulty

Slated for release in December, 2015, PHP 7 brings a wealth of new features, bug fixes, and performance improvements. If you're curious, come with me,...

28:25 mins
Play
PHP Design Patterns in PHP
Advanced
Difficulty

A design pattern is a common solution to a common problem. Nothing more, nothing less. And, while some of these approaches might seem foreign or overw...

1:43:02 hrs
Play
Laravel Let's Build A Forum with Laravel and TDD
Advanced
Difficulty

A forum is a deceptively complex thing. Sure, it's made up of threads and replies, but what else might exist as part of a forum? What about profiles,...

19:29:26 hrs
Play
PHP PHP Bits
Intermediate
Difficulty

Because our industry advances so quickly, it's far too easy for bits and pieces to fall through the cracks. Each episode in this series provides a sta...

31:49 mins
Play