June 2023

JWT Tokens vs. Sessions in Django

In Django web development, choosing the appropriate authentication mechanism is crucial for ensuring secure and efficient user interactions. Two ways of managing user authentication are JSON Web Tokens (JWT) and sessions. In this article, we would compare of JWT tokens and sessions, comparing their advantages, disadvantages, and when to use each. Exploring JWT Tokens JSON …

JWT Tokens vs. Sessions in Django Read More »

Is Fastapi an ASGI framework

Short answer, yes. FastAPI is an ASGI (Asynchronous Server Gateway Interface) framework. Fastapi is specifically designed to leverage asynchronous programming and is built on top of the ASGI specification. ASGI is a standard interface between web servers and Python web applications that supports asynchronous execution. It allows web frameworks to handle high concurrency and efficiently …

Is Fastapi an ASGI framework Read More »

Is Flask MVC or MVT?

Flask is a micro web framework for Python that allows the Model-View-Controller (MVC) architectural pattern. The MVC pattern is a design pattern commonly used in web development to separate the application’s concerns into three interconnected components: Model Models represent the data and the business logic of the application. They deal with the storage, retrieval, and …

Is Flask MVC or MVT? Read More »