DI

5:50

Описание выпуска

DI Container and Dependency Inversion in Yii3 In this episode, we dive deep into why modern development is inseparable from Dependency Injection (DI) and how this approach is implemented in Yii3. Together with Alexander Makarov, we "dissect" the framework's architectural shifts and discover how to eliminate brittle, tightly coupled code. In this episode: Goodbye, Yii2: Why global app components (Service Locator) are a thing of the past and why high coupling is a silent killer for your project. DI Explained Simply: How contracts and interfaces allow you to swap Redis for FileCache without breaking your business logic. Under the Hood of Yii3: How the modern DI container works, why parameters are separated from service configurations, and how to avoid "constructor hell." Practical Benefits: Why DI isn't just a buzzword, but a real tool to make code maintenance cheaper and a developer's life more peaceful. Guest: Alexander Makarov. This episode is designed to help you clear the fog around complex configurations and start writing clean, testable, and change-resistant code. Documentation: https://yiisoft.github.io/docshttps://yiisoft.github.io/docs/guide/concept/di-container.html https://yiisoft.github.io/docs https://github.com/yiisoft/di

Нет комментариев

Пока никто ничего не написал.
Будьте первым 🙌