Loading this book…
Loading this book…
Computer sciencePython
by Harry J.W. Percival, Bob GregoryNot on Booklabria yet
Description A pragmatic guide to mastering architectural patterns in Python for building maintainable, testable, and scalable applications. This book systematically introduces Test‑Driven Development (TDD), Domain‑Driven Design (DDD), and event‑driven architectures through a single example application, built incrementally across chapters. It adapts common enterprise architecture patterns—like repository layers, unit of work, message buses, and CQRS—for Pythonic use, combining theory with working code.
About the Book The authors, software engineers at MADE.com, show how to use classic software architecture ideas (more commonly applied in Java and C#) in the Python ecosystem. The entire book builds out a single app step-by-step, using tools like Flask, SQLAlchemy, PyTest, Docker, and Redis. Each chapter alternates between writing tests first and then implementing the logic to make the tests pass. This strict TDD approach helps readers deeply understand abstractions like message buses and aggregates in a hands-on, repeatable way. Topics & Themes Part 1: Domain modeling, repository pattern, unit of work, aggregates Part 2: Event-driven architecture, domain events, message bus, command handlers, CQRS, dependency injection Audience Intended for intermediate Python developers working on complex applications who want to improve their architectural design skills. The book is especially useful for developers transitioning from monolithic apps to microservices or looking to enforce better boundaries and testability in their code. Critical Reception Widely praised in the Python and architecture communities. Described on Hacker News as a “goldmine for architecture patterns.” Some caution against over-engineering for smaller projects, but overall the book is valued for bringing enterprise design clarity into the Python world. It’s also featured and recommended by respected voices like the Testing Goat blog for its strong emphasis on testing strategy. Why It Matters As Pytho
Content notes
No content warnings recorded yet. Catalogue records don't include them, which doesn't mean the book has none.
Book data and covers from Open Library (openlibrary.org).
The most complete records first.
Editions and their details come from Open Library, as its contributors recorded them. Publisher names are shown as recorded. See this book on Open Library(opens Open Library)