Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices

by Harry Percival, Bob Gregory

Cover of Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices

(4 / 5)

Published2020 · O'Reilly Media
Pages280
ISBN9781492052203
Date FinishedAugust 31, 2022
Read2022
ReviewedAugust 31, 2022

I’m somewhat mixed on this book. The authors are very clear about one particular design pattern, using Domain Driven Design to create aggregates which push events to a message bus, and layers of abstraction between the changeable facts of any specific database or infrastructure on one end, and the confusion of business logic which has to represent the messiness of the real world in a way that computers can understand on the other.

I’m somewhat pleased that I stumbled into their preferred pattern on my own before reading this book. But the meat of what I was interested in, test-driven development in the real world with legacy code, is left underexplained. I should spend more time with the accompanying Github, and in many ways this book is closer to my day to day than Designing Data-Intensive Applications, but as other reviews have mentioned, it’s one architecture pattern.


Discussion

Post about this on Bluesky