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

Creado 12mo | 23 may. 2023 18:20:22


Inicia sesión para agregar comentarios

Otros mensajes en este grupo.

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 oct. 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 sept. 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 ago. 2023 20:30:07 | Martin Fowler