Это видео недоступно.
Сожалеем об этом.
Dependency Injection Part 2: The Container
- Добавить в
- Мой плейлист
- Посмотреть позже
- Поделиться
Поделиться
HTML-код
Размер видео:
- Опубликовано: 12 авг 2024
Комментарии • 9
Следующие
Автовоспроизведение
Inversion of Control, simplifiedBran van der Meer
Просмотров 4,1 тыс.
MongoDB Internal ArchitectureHussein Nasser
Просмотров 84 тыс.
Learn SOLID Principles with CLEAN CODE ExamplesAmigoscode
Просмотров 267 тыс.
Dallas Cowboys vs. Los Angeles Rams | 2024 Preseason Week 1 Game HighlightsNFL
Просмотров 861 тыс.
Shannon Sharpe & Chad Johnson react to Ayesha Curry incident involving Paris police | NightcapNightcap
Просмотров 253 тыс.
Caleb Williams Preseason Week 1 2024 AnalysisThe QB School
Просмотров 110 тыс.
Steph Curry Saves the Day (and Team USA) With Doc Rivers | The Bill Simmons PodcastBill Simmons
Просмотров 250 тыс.
Dependency Injection, simplifiedBran van der Meer
Просмотров 3,9 тыс.
Svelte 5 Is A TriumphJoy of Code
Просмотров 62 тыс.
Mastering Dependency Injection In GolangAnthony GG
Просмотров 46 тыс.
Driver/Navigator style of Pair ProgrammingBran van der Meer
Просмотров 2,4 тыс.
Why didn't the Angular team just use RxJS instead of Signals?Joshua Morony
Просмотров 91 тыс.
Dependency Injection in C# ❘ A Hands-On Guide to Boosting Code Flexibility and TestabilitySkill Foundry
Просмотров 26 тыс.
Dependency Injection, The Best PatternCodeAesthetic
Просмотров 791 тыс.
The Simplest Design Pattern: FacadeBran van der Meer
Просмотров 3,3 тыс.
The Flaws of InheritanceCodeAesthetic
Просмотров 926 тыс.
Муж на час 😂КАРЕНА МАКАРЕНА
Просмотров 512 тыс.
ДЖЕФ ВСЕМ ПОМОЖЕТ🤓Valera Ghosther
Просмотров 761 тыс.
ТАЙНЫ И ЗАГАДКИ ИНТЕРНЕТА 2TheBrianMaps
Просмотров 1,6 млн
Сервисный центр в РовенькахОфициальный канал КВН
Просмотров 26 тыс.
iPhone Завис на яблоке!Sergey Delaisy
Просмотров 63 тыс.
Friends Supporting FriendsRed Bull
Просмотров 19 млн
Бои в Курской области: ВСУ берут пленныхEuronews по-русски
Просмотров 426 тыс.
Russians are suffering significant losses in the Kursk regionThe Gaze
Просмотров 856 тыс.
thank you bran. this is exactly what i was looking for.
i love this. Thank you Bran
pretty neat ;) Thx a lot.
Good explanation and good examples. While explaining the container concept to manage the DIs it looks very similar to the idea of using an autoloader that lets us just call a class without importing it. Are they the same or the autoloader is just another thing that makes making a DI container easier?
Thanks a lot
The examples were simple to follow. Thank you, sir.
Two questions:
1. Can you recommend some resources to further my journey in DI, specifically in the context of JavaScript / TypeScript?
2. Is there a DI solution that resolves all the dependencies during the build process and generates static import/require statements in the build output for each file? I ask this because if the DI container resolves dependencies dynamically at runtime, then won't we lose the ability to tree-shake unused code?
@adiadiadi: I recommend NestJS as a nice DI/IoC implementation to play with and learn more about. As for your second question: I don't know of any such compile step, afaik all DI is resolved at runtime.
@@branvandermeer thanks! will check out Nest