Using Python types for fun and profit: the Proxy Pattern
Introduction The proxy-pattern is a very useful design pattern. The basic function is to make sure that a...
Using Python types for fun and profit: the Template Pattern
Introduction The template method pattern is a behavourial design pattern which allows you to define the template, or...
Using Python types for fun and profit: the Strategy Pattern
Introduction The strategy pattern is a behavorial design pattern that allows you to define a family of algorithms,...
Using Python types for fun and profit: the State Pattern
Introduction As many of you may know: Python is not a strongly typed language, unlike C# for example....
An easy way of implementing the Dependency Injection Pattern in Python
Introduction Dependency Injection is simply said, the idea that your classes should depend on abstraction, i.e. the abstraction...
Design patterns in Python: Abstract Factory
The Abstract Factory Pattern is a way to group the creation of related objects, like products of a...
Deploying a simple Django (DRF) app to a Kubernetes cluster, part 3: using an nginx pod as proxy
Introduction In my previous two posts we set up a kubernetes deployment for a Django Rest Framework Application....
Deploying a simple Django (DRF) app to a Kubernetes cluster part 1: setting up
Introduction For the past couple of years I have been reading about Django and the Django Rest Framework,...