У нас вы можете посмотреть бесплатно Achieving Loose Coupling with Pure Dependency by Simon B Støvring - SwiftLeeds 2023 или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Ensure loose coupling in your codebase by adopting Pure Dependency Injection and injecting the dependencies using the Composition Root pattern. Learn how to create a Composition Root and use the loose coupling to create feature apps that let you iterate on features in isolated environments. The talk explores the Composition Root pattern (originally presented by Mark Seemann in the book “Dependency Injection in .NET”) in the context of a mobile app. Through the talk we will explore how the pattern can be used to achieve loose coupling and how the Composition Root and Pure Dependency Injection can be used as an alternative to the Service Locator pattern. As a result, we will notice that using Pure DI results in honest interfaces that clearly states the dependencies they need. While the concepts presented are mostly generic and applicable to all platforms, we will use an iOS app written in Swift as an example. Through the talk we will discover how Pure DI and the Composition Root makes it easy to mock parts of our codebase and create isolated apps that run a single feature, making it easy and fast to iterate on features without navigating through a large application. After the talk the audience will be well-equipped to consider Pure DI and the Composition Root as an alternative to the popular Service Locator pattern, which is effectively what the @Environment and @EnvironmentObject property wrappers in SwiftUI uses.