Architecture Patterns with Python

Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices

280 pages

English language

Published Dec. 20, 2020 by O'Reilly Media, Incorporated.

ISBN:
978-1-4920-5220-3
Copied ISBN!

View on OpenLibrary

5 stars (2 reviews)

As Python continues to grow in popularity, projects are becoming larger and more complex. Many Python developers are now taking an interest in high-level software architecture patterns such as hexagonal/clean architecture, event-driven architecture, and strategic patterns prescribed by domain-driven design (DDD). But translating those patterns into Python isn't always straightforward.

With this practical guide, Harry Percival and Bob Gregory from MADE.com introduce proven architectural design patterns to help Python developers manage application complexity. Each pattern is illustrated with concrete examples in idiomatic Python that explain how to avoid some of the unnecessary verbosity of Java and C# syntax. You'll learn how to implement each of these patterns in a Pythonic way.

Architectural design patterns include: - Dependency inversion, and its links to ports and adapters (hexagonal/clean architecture) - Domain-driven design's distinction between entities, value objects, and aggregates - Repository and Unit of Work patterns for persistent storage - Events, commands, …

1 edition

Review of 'Architecture Patterns with Python' on 'Goodreads'

5 stars

This book gave me so much new information to think about that I'm going to have to let it settle for a while then come back and read it all again.

I'm pretty sure that the mere fact that I have read this is going to save me a lot of trouble in the not too distant future, and stop me going down paths that would not be a good idea in the long run (though, somewhat gratifyingly, it also confirmed my ideas about a few things as well, though even then it gave me something extra to think about).

Very well written thorough, with easy to read examples demonstrating exactly what the authors mean at every stage. Highly recommended for anybody looking to build anything larger than a small CRUD app.

avatar for gagliardi_vale

rated it

5 stars