Welcome to the first post from the GRASP series. GRASP stands for General Responsibility Assignment Software Principles. It is a great aid for Object-Oriented Design (but not really exclusive for OOP!). It is all about putting responsibilities in code structures such as classes/methods/modules in such a way it “makes sense”. Controller – what is it? […]
Category: clean architecture

Python & the Clean Architecture in 2021
It’s been almost 3 years since I used the Clean Architecture in production for the first time. I made it to quite a few conferences to talk about it (e.g. see Clean Architecture in Python talk from PyGotham 2018). Also, I wrote an article about the Clean Architecture that made it to RealPython.com newsletter. …but […]

Modular monolith in Python
Microservices are not the only way I remember when the microservices boom started. Truth to be told, it still echoes strongly to this day. You could see conferences agendas packed with talks about microservices, articles galore, finally books and frameworks. At some point, I was afraid to open my fridge. Everyone and their dog wanted […]
When to use the Clean Architecture?
Enthusiasm, doubt, opposition There are few possible reactions after learning about the Clean Architecture or Hexagonal Architecture (AKA Ports & Adapters) or even merely innocent service layer in Django. Some developers are enthusiastic and try to apply these techniques immediately, some are hesitant, full of doubts. The rest is strongly opposing, declaring openly this is […]
Implementing the Clean Architecture with Python – my book is here!
It is my pleasure to announce that my book is finally available to buy. 🙂 https://leanpub.com/implementing-the-clean-architecture Free sample is available there as well. The books focuses on practical aspects and is illustrated with tons of code snippets in Python. Don’t forget to check out a code repository with the project which is illustrating the book: […]
The Clean Architecture in Python. How to write testable and flexible code
(Hey! This article is almost 2 years old 🙂 Look here for something about the Clean Archictecture in 2021) An ideal project? If someone asked about the features of an ideal project, responses would surely mention a few specific things. First of all, an ideal project would have a clean codebase that is simple to […]
I am writing a book!
You might be wondering why lately there is not much activity on the blog. Frankly, I am currently fully involved in another writing project, namely I am writing a book on the Clean Architecture! Book will be called Implementing Clean Architecture You can sign up for notification when it will be ready if you follow […]