Skip to content

The archive

All stories

10 Python Patterns, Part 3: Builder Pattern for Big Projects

The Builder Pattern helps manage complex object creation without overloading models, views, or forms. In Django projects, it is especially useful when assembling objects from multiple inputs, conditional steps, or external data sources. This post shows how the Builder Pattern keeps creation logic ex

Feb 13, 2026

10 Python Patterns, Part 2: Strategy Pattern in Django

This post explains how the Strategy Pattern helps Django applications avoid large conditional blocks as business logic grows. Using a practical Django example with class-based views and services, it shows how to encapsulate interchangeable behaviors, keep code open for extension, and make new featur

Feb 13, 2026