How does Docker containerization networking work

This article is part of series that covers topics related to Python application development and deploying these application on container technology such as Docker. In this article in particular I would like to explain how network communication of Docker containers is structured. Without further ado let’s get started.

Photo by Science in HD on Unsplash

Let me first begin with a brief overview of what we are about to discuss. As I have already mentioned in the beginning we are about to dive into networking fundamentals of Docker containers. But why is this important? Every application that is being build and deployed nowadays, regardless the programming stack…


How to build Docker container to host your Python applications

In my last article, I have shown you how to build simple Python application that could automate repetitive tasks by using a lightweight framework such as Flask. The application consists of pretty simple UI interface where users could type in user’s email and trigger scripts that are executed on the back-end server. All of this is done through couple of API calls that provide mapping between the UI and the back-end server. If you are interested, I would suggest to take a quick look at it.

Photo by Ian Taylor on Unsplash

After building such application, you could end up with a dilemma, where should that…


How to build simple web applications to automate repetitive and boring tasks at work

One of my favorite books to read about Python is “Automate the boring stuff with Python” by Al Sweigart. His books are well written, engaging and cover a lot of different topics that relate not only to software developers but a lot of people who like to tinker with code and build fun stuff. I would recommend anyone who thinks to start programming in Python or in general to take a look at them. A lot could be learnt from them. On a side note. I am not sponsored or payed to reference the books, I just think they are…


Python decorators is one of these topics that you certainly know how to use but it may be not so obvious how to build one. In this article I will try to explain what a decorator is, how to use and build one. At the end of the article we will go over decorator with arguments and how they differ from standard ones.

Photo by Chris Ried on Unsplash

A decorator is a design pattern in Python which allows us to add more functionalities to functions and methods without changing the entire code base. What does that mean?

Suppose you have the following function, that returns…


Imagine you’re trying to retrieve or create content on a secure location which sits behind some sort of a security mechanism. Most of the cases that security mechanism would be some sort of a login portal which can be easily “bypassed” by sending the credential with a POST request and create a session that would go along with subsequent requests. What would happen in cases where the you’re being redirected to a central login server or worst case scenario — a SSO (Single Sign-On) authentication mechanism. In some corner cases, depending on the implemented security mechanism on the server side…


GIT is a distributed version control system that allows you to keep track of changes made to a project by your and your team. I still remember the first day I had to use it and how confused I was. What all of those commands do, how do we use them, what if something go wrong? In this article I will try to explain the most used commands in my opinion.

Photo by Roman Synkevych on Unsplash
  1. Staging files

Staging files is a process of creating a file and place is it a so called staging area. …


Not long time ago I had built a web scrapper which was downloading product information from a web API. As you know, every product on the web is associated with one or more images which for my misfortune I had to download and store locally on my machine. Interestingly, when you start downloading a bunch of images from the web you end up with a lot of duplicates which takes space and time to search through. So I decided to write couple of function and just get rid of all duplicates. During the process I though that it would be…


Couple days ago I decided to explore the idea of creating Django API views without the famous Django Rest Framework also known as DRF. Don’t get me wrong DRF is a unique toolkit for building web APIs and you should use it as much as possible. The bad thing about such toolkits is that they hide a lot of complexities about the underlying technologies and people fail to learn how exactly do they work. I am on the other hand a guy who loves to tinker around with such technologies I decided to implement couple of Django API views for…


During the past month or so I’ve been working on a personal project of mine that includes a JavaScript live search also known as AJAX search, so I decided to make an quick article out of it and guide you through it. As a disclaimer, I want to point out that this is not the most efficient way to build feature like this but it shows the general idea.

What we are going to build is shown on the image below. Our feature consists of a simple search bar and a drop-down bow where our search results are displayed. …


I have been working on a personal project for a while and stumble across an interesting point during the build. To put things into context, I wanted to build a site footer that holds additional information to the site content. As probably most of you know footer section is shared across your whole application regardless the page you are on. So in this article I will go over two different ways of building such feature.

Photo by Faisal on Unsplash

For those who never worked with Django I would recommend checking some of my other articles where I explain some basic principles about Django framework…

Jordan P. Raychev

Network, system and software engineer with true passion about technology. Love to read and spend time in nature.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store