Dependency Injection Fully Explained. OOPS Concepts in PHP in Hindi/Urdu

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • What is DI?
    Where To Use?
    Why To Use?
    Dependency Injection is a software design pattern that allows avoiding hard-coding dependencies and makes possible to change the dependencies both at runtime and compile time.
    By using Dependency Injection we can write more maintainable, testable, and modular code. All projects have dependencies. The larger the project the more dependencies is it bound to have; now having a great number of dependencies is nothing bad by itself however how those dependencies are managed and maintained is.
    Dependency Injection is not a new pattern and it has been commonly used on many languages like Java, but this pattern is somewhat new in the PHP world and it’s gaining traction quickly thanks for frameworks like laravel.
    ==================FOLLOW ME ==================
    Subscribe for New Releases!
    -- QUESTIONS? --
    Leave a comment below and I or someone else can help you.
    For quick questions
    Email me thakurpavinder07@gmail.com
    Thanks for all your support!

КОМЕНТАРІ • 6

  • @rakeshsapariya5634
    @rakeshsapariya5634 Рік тому +1

    Really it's best example of understand dependency injection

  • @bunty84singh50
    @bunty84singh50 Рік тому +1

    very good explanation. Thank you

  • @amolchoudhary4861
    @amolchoudhary4861 Рік тому +1

    Very nice explanation...now i understand what is dependency in real project..thank u...

  • @sumithamk6601
    @sumithamk6601 2 роки тому +1

    Excellent!!!

  • @pradyutpanja195
    @pradyutpanja195 Рік тому

    very good explanation.. finally i have understood the concept of di

  • @apoorvagupta652
    @apoorvagupta652 4 роки тому +1

    Very nice