SOLID Principles

Learn Everything About The Most Used Design Patterns in PHP

PHP Course : SOLID - Single Responsibility

profile picture

Have you ever heard about SOLID ? It is a collection of several Programming Principles that help developers write better code. There are five letters in SOLID, and each stand for a specific principle. In this article we will start with the first...

- - - - - - - - - - - - - - -

PHP Course : SOLID - Open-Closed

profile picture

The second principle of S O LID is called Open-Closed , and helps developer to mature well designed code. This is a confusing one, but I'll try to make it easy to grasp. Definition First of all, this principle states that entities should be...

- - - - - - - - - - - - - - -

PHP Course : SOLID - Liskov Substitution

profile picture

Third principle in this SOLID serie, the Liskov Substitution principle was imagined by Barbara Liskov. Definition Mathematical definition: Let q(x) be a property provable about object x of type T. Then q(y) should be provable for objects y o...

- - - - - - - - - - - - - - -

PHP Course : SOLID - Interface Segregation

profile picture

"Interface Segregation"... what the hell does that mean now... It seems like all those principles were named to bring more confusion than clarity right ? Yet they are very easy to understand once you look at the right example. This one i...

- - - - - - - - - - - - - - -

PHP Course : SOLID - Dependency Inversion

profile picture

Last but not least, the Dependency Inversion Principle! There is a common misunderstanding that "Dependency Inversion" is similar to "dependency injection." However, the two are not the same, as I explained in What Is Dependen...

- - - - - - - - - - - - - - -

about me

profile picture

I consider myself as an IT Business Artisan. Or Consultant CTO. I'm a self-taught Web Developper, coach and teacher. My main work is helping and guiding digital startups.

more about me

follow me

newsletter

A weekly email with the latests articles

support my work

Start trading on binance
  • BTC

    BTC

    18SY81ejLGFuJ9KMWQu5zPrDGuR5rDiauM

  • ETH

    ETH

    0x519e0eaa9bc83018bb306880548b79fc0794cd08

  • Monero

    XMR

    895bSneY4eoZjsr2hN2CAALkUrMExHEV5Pbg8TJb6ejnMLN7js1gLAXQySqbSbfzjWHQpQhQpvFtojbkdZQZmM9qCFz7BXU

2024 © My Dynamic Production SRL All rights Reserved.