Author: Zohair Mehtab
-

Traversing a spiral matrix
Traversing a Spiral Matrix Manipulating data structures 1.0 Overview Imagine navigating a 2D matrix like a winding staircase, traversing its elements in a continuous spiral. This intriguing pattern, known as spiral traversal, has applications in various domains, from image processing and data compression to game development and cryptography. This blog post delves into the intricacies…
-

Unit Testing with .NET II: Refactoring the code
In the last post, we explored the fundamentals of unit testing with .NET, delving into the “why” and the “how” using popular frameworks like MSpec and xUnit. Now, let’s roll up our sleeves and get practical! This time, we’re dissecting a real-world .NET console application to see unit testing in action. We’ll walk you through…
-

Unit Testing with .NET I: A brief overview
Unit testing is often underemphasized in academic settings, leaving many developers uncertain about how to apply it effectively in real-world projects. In this first part of a series on unit testing with .NET, we’ll explore why testing is essential and discuss foundational principles to get started. We’ll compare two popular .NET testing frameworks, xUnit and…
-

CRON Scheduler with .Net Core
When it comes to managing recurring tasks in .NET Core, leveraging CRON scheduling can be a game-changer for many applications. CRON jobs enable developers to automate processes, allowing tasks to run in the background at predefined intervals without manual intervention. For my recent project, I turned to Quartz.NET, a powerful open-source library specifically designed for…
-

Containerized Django Development III: CSRF and External Applications
In this final part of a three part series, we turn our attention to the final frontier: securing our GraphQL API. We’ll explore how to integrate CSRF protection seamlessly into our GraphQL endpoints, ensuring that our API remains resilient against unauthorized access and manipulation. Get ready to fortify your backend and complete your Django security…
-

Containerized Django Development II: CORS and Views
In the part of this three part series, we will embark on a journey to secure our Django application by delving into the intricacies of Cross-Origin Resource Sharing (CORS). We will explore the mechanisms behind CORS, tackle common challenges, and learn how to configure our Django backend to allow requests from trusted origins.
-

Containerized Django Development I: Mastering Docker, CORS, and CSRF
Tired of the endless cycle of setting up new Django development environments? I’ve been there! That’s why I created a reusable, Docker-powered toolkit that lets me spin up production-ready Django projects in minutes. In this article, I’ll share my secrets, including how I use Docker, Daphne, and Strawberry GraphQL to create a secure and efficient…
-

The Infrastructure
This post contains a detailed description regarding the infrastructure of the Portfolio application
-

System Overview
Dive into the architecture of my portfolio system! This article explores the four key layers – networking, application, presentation, and data – and the technologies that power each one.