SOLID Principles in Laravel & PHP: A Practical Guide

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024

Комментарии • 21

  • @abbottabbott1120
    @abbottabbott1120 День назад

    Thanks for laying this out so clearly. The whole time you were going over the Liskov Substitution Principle I was expecting you to suggest type-hinting the array structure using DocBlock and static analysis tools! That's what our team uses to enforce this programmatically.

  • @abbottabbott1120
    @abbottabbott1120 День назад

    I can't tell you how disappointing it is to find such a clear and thorough video aimed at programmers working actively in PHP / Laravel to then find out you don't have other videos on your channel…

  • @R34dw
    @R34dw Год назад +5

    That's one of the best explanations of SOLID I've seen in a long time. Maybe it's because the examples were created using a familiar environment, but regardless, good job!

  • @tmanley1985
    @tmanley1985 Год назад +2

    Just a minor correction. The D in solid refers to Dependency Inversion. But yes, you're correct that it means that you should depend upon abstractions rather than concretions. Great video :)

  • @prashank
    @prashank 4 месяца назад

    Hey Taylor, are you looking for a job as a laravel dev? If yes, any way to contact you?

  • @mattskelton7471
    @mattskelton7471 10 месяцев назад +1

    Quality content. Subscribed! You mentioned you have a strong opinion on the repository pattern; do you have any video or article outlining your opinions?

  • @wgnalle
    @wgnalle Год назад +1

    This was a great breakdown and one that I would love to share with my dev team.

  • @techfuture-code-tv
    @techfuture-code-tv Месяц назад

    Thank you sir.. I gained knowledge and tricks here. I will work more on understanding and adhere to SOLID principle

  • @SXsoft99
    @SXsoft99 10 месяцев назад

    the things that i noticed sometimes with the way laravel is built is that sometimes added too much extra abstractization ends up making spaghetti code

  • @mohamed_mahran
    @mohamed_mahran 7 месяцев назад

    Thank you for the great video on SOLID. Please do more videos.

  • @bhutunga
    @bhutunga Год назад

    Nice video, you should make more, great teaching style, cheers 👊🏾

  • @fernandezjasper
    @fernandezjasper 8 месяцев назад

    Great explanation. Subscribed!

  • @kenube
    @kenube Год назад

    Nice video. Any plan for more education videos like this in future?

  • @adamshaibu3911
    @adamshaibu3911 6 месяцев назад

    i got error using the same logic. The purchase method is confusing in Open/Closed Principle

  • @DeepStreamBits
    @DeepStreamBits Год назад

    For SRP validation should be done in the productService as well. That is business logic and not related to the HTTP cycle.

    • @R34dw
      @R34dw Год назад

      There's input validation and there's business-related validation. Limiting the string length, ensuring price is numeric, or restricting the image size is typically not part of the business logic.

    • @SXsoft99
      @SXsoft99 10 месяцев назад +1

      that's why you have the request classes, for validation

  • @gopalwebdev
    @gopalwebdev 2 месяца назад

    Thanks 🙏

  • @LostInAutism
    @LostInAutism 4 месяца назад

    SOLID video 🤘