
Architecture Patterns with Python
Harry J.W. Percival, Bob Gregory · 2020
Programming and computer science › Python
#2,848 most recommended
Hacker News
16
mentions by 15 people · top 20% of 15,732 books
Open Library
4.67★★★★★★★★★★
3 ratings · 15 want to read
Wikipedia
—
No article yet
About the book
A practical guide to structuring medium-sized Python applications around a domain model, using domain-driven design, test-driven development and event-driven patterns. It works through a worked example, an order allocation service built with Flask, SQLAlchemy and a message bus, and is aimed at working engineers who already know basic Python. Business logic should live in a domain model that has no dependencies on the web framework, database or message broker, so it can be tested quickly with plain unit tests. Repositories, a service layer and a unit of work sit around that model to connect it to infrastructure, and dependency injection keeps those connections swappable. Domain events and a message bus let separate parts of a system react to changes without tight coupling, and the book argues that this approach scales from a single service toward microservices.
Written by Claude from what it knows of this book.
What Hacker News says 80% recommend · 13% critical
In the commenters’ own words
I am also very interested to hear opinions on DDD. I recently finished _Architecture Patterns with Python_ [0] which talks about DDD and it was very good…
Just browsed the table of contents and was both happy and surprised to see an entire chapter dedicated to the UI. How big is the sample application in the…
What Open Library readers say 4.67 from 3 ratings
- 52
- 41
- 30
- 20
- 10
- 15 want to read
- 1 reading
- 4 have read
Only 3 ratings: treat the average as a hint.
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
Details
- First published
- 2020
- ISBN
- 9781492052203
- Editions known
- 2 at Open Library
- Open Library
- OL21661812W
CQRSComputer sciencedependency injectiondomain-driven designevent-driven architecturemicroservicespythontest-driven development
Read next: its neighbours on the mosaic
Clean Code in PythonMariano Anaya · 2018 · recommended by 1 person · similar by subject and what people say about it
Python DistilledDavid M. Beazley · 2021 · recommended by 9 people · 2 people recommended both
Effective PythonBrett Slatkin · 2015 · recommended by 22 people · 2 people recommended both
Test-Driven Development with PythonHarry J.W. Percival · 2014 · recommended by 16 people · similar by subject and what people say about it
Fluent PythonLuciano Ramalho · 2015 · recommended by 67 people · 2 people recommended both
Introducing PythonBill Lubanovic · 2013 · recommended by 4 people · similar by subject and what people say about it
Designing Distributed SystemsBrendan Burns · 2018 · recommended by 5 people · similar by subject and what people say about it
Patterns of Enterprise Application ArchitectureMartin Fowler · 2002 · recommended by 34 people · similar by subject and what people say about it
Clean ArchitectureRobert C. Martin · 2017 · recommended by 47 people · similar by subject and what people say about it
Practices of the Python ProDane Hillard · 2019 · recommended by 1 person · similar by subject and what people say about it
CPython InternalsAnthony Shaw · 2021 · recommended by 6 people · similar by subject and what people say about it
Design PatternsErich Gamma · 1994 · recommended by 95 people · similar by subject and what people say about it
A Philosophy of Software DesignJohn K. Ousterhout · 2018 · recommended by 163 people · similar by subject and what people say about it
Game Programming PatternsRobert Nystrom · 2011 · recommended by 120 people · similar by subject and what people say about it
Domain-Driven DesignEric Evans · 2003 · recommended by 104 people · similar by subject and what people say about it
Head First design patternsEric Freeman · 2004 · recommended by 65 people · similar by subject and what people say about it
Enterprise integration patternsGregor Hohpe · 2003 · recommended by 23 people · similar by subject and what people say about it
Building MicroservicesSam Newman · 2015 · recommended by 21 people · similar by subject and what people say about it
Apprenticeship PatternsDave H. Hoover · 2009 · recommended by 16 people · similar by subject and what people say about it
Design Patterns in RubyRuss Olsen · 2007 · recommended by 15 people · similar by subject and what people say about it
Refactoring to PatternsJoshua Kerievsky · 2004 · recommended by 15 people · similar by subject and what people say about it
Fundamentals of Software ArchitectureMark Richards · 2020 · recommended by 12 people · similar by subject and what people say about it
Software engineering for Internet applicationsEve Astrid Andersson · 2006 · recommended by 10 people · similar by subject and what people say about it
Python in a NutshellAlex Martelli · 2002 · recommended by 9 people · similar by subject and what people say about it