Do you need Redux? Reasons you should consider useReducer + Context API

IntroductionState management in React has always been a contested topic, with different opinions on how best to get it done. Redux, an open-source, do-it-all library that provides a central store and actions to modify the store, has been a good choice in state management.   However, Redux is quite complex, requires extra lines of code, and has a steep learning curve.
Read More

Fast API vs Django

Fast API vs. Django As a backend developer, you have undoubtedly encountered many Python frameworks. Each of these frameworks is widely adopted for web or API development. However, deciding which tool to pick for the correct use case might be challenging for beginners. This article will discuss the differences between some of these frameworks, using Fast API and Django as a

Read More

Using Redis as a Celery back end

Using Redis as a Celery back end Your Django applications will suffer a performance drop if they have time-intensive tasks as part of their workflow. Using asynchronous code with Celery, not the vegetable, you can offload time-intensive tasks from your Python app. This way, your app can continue to respond quickly to users while Celery handles the functions in the background.

Read More

Message queues with Rabbit MQ

What is Rabbit MQ? In modern applications, instead of a Monolith, there is a gradual shift in companies’ ideology toward a micro-service-based architecture. Decoupled modules are essential to ensure this workload is smooth and fast. Message brokers allow your applications to communicate and decouple from each other. A message could contain any information. For instance, information about a task or process

Read More

Python as backend language for web applications

Introduction Loved for its ease of learning, Python is one of the most popular programming languages in the world. It accounts for 17.186% percentage of lines of code on GitHub. Although Python has been established as the de-facto language for data science, AI and Machine Learning, many programmers often question its place as a backend language. However, Google, Spotify, and Pinterest

Read More

Building a Django API

The Django REST framework (DRF) is a powerful, opinionated, yet flexible toolkit for building Web APIs. It builds on the rapid, clean, and pragmatic development design encouraged by Django. DRF has some advantages that make it stands out among other REST frameworks: Out of the box, it comes with both OAuth , $ django-admin startproject my_django_project $ cd my_api_project a and

Read More