Optimizing Your Tests with Pytest Scopes

PROGRAMMING

|

November 14, 2025

Ever wondered why your Pytest suite takes ages to run? The secret often lies in a powerful but misunderstood feature: fixture scopes. We break down the crucial trade-off between perfect test isolation and fast performance for more efficient tests.

Webhooks: “Don't Call Us, We'll Call You”

PROGRAMMING

|

September 10, 2025

Stop building noisy backends that rely on polling. Learn to build smarter, event-driven backend with webhooks using Python and FastAPI that can communicate between microservices.

FastAPI Middleware vs. Dependencies, A Guide to Choosing the Right Tool

PROGRAMMING

|

September 08, 2025

A comprehensive guide for developers on choosing between Middleware and Global Dependencies in FastAPI, breaking down their distinct execution flows and ideal use cases.

One Menu, Two Baristas: Handling SQL & NoSQL with the Repository Pattern

PROGRAMMING

|

August 11, 2025

This is the story of using SQL and NoSQL in the same project without creating a tangled mess. We'll explore how the Repository Pattern provides one menu for our two database baristas PostgreSQL and MongoDB, resulting in a clean architecture.

Putting Your Backend on Autopilot with SQLAlchemy Events

PROGRAMMING

|

July 10, 2025

Learn how to use SQLAlchemy ORM Events to automate tasks like password hashing, sending emails, and updating timestamps. This guide covers Mapper, Session, and Attribute events with practical examples to write cleaner, more maintainable backend code.