GRASP Controller pattern in Python

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? […]

Read More

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 […]

Read More

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: […]

Read More