Dependency Composition

Developers commonly ask "what framework should we use for dependency injection". Daniel Somerfield explains why this is the wrong question, instead we should focus how to have clearly separated modules with a simple composition mechanism between them. He illustrates how he approaches this in TypeScript, with a minimalist "function-first" approach, on a simple example application separating application logic from persistence.

more…

https://martinfowler.com/articles/dependency-composition.html

Vytvořeno 2y | 23. 5. 2023 18:20:22


Chcete-li přidat komentář, přihlaste se

Ostatní příspěvky v této skupině

How is GenAI different from other code generators?

How is code generation with GenAI different from more "traditional" code generators? The newest memo in Birgitta Böckeler's explorations of GenAI talks abou

18. 10. 2023 20:10:05 | Martin Fowler
How is GenAI different from other code generators?

How is code generation with GenAI different from more "traditional" code generators? The newest memo in Birgitta Böckeler's explorations of GenAI talks abou

19. 9. 2023 10:10:06 | Martin Fowler
TDD with GitHub Copilot

At Thoughtworks, we are strong practitioners of Test Driven Development (TDD). Naturally this leads to the question of how generative AI can

17. 8. 2023 20:30:07 | Martin Fowler