Category Archives: Programming

Learn programming through practical, project-based tutorials covering a wide range of languages and technologies. This category includes beginner-friendly guides on HTML and CSS — the building blocks of the web — as well as tutorials on YAML for configuration management, overviews of the top programming languages to learn, and hands-on coding projects that help you build real skills. All tutorials follow the philosophy of learning by doing: understanding a concept is best achieved by building something with it.
From Domain Design to REST API: Building FastURL with FastAPI

From Domain Design to REST API: Building FastURL with FastAPI

Learn how to turn requirements and a domain model into a clean REST API using FastAPI and Pydantic v2, using FastURL — a URL shortener — as a concrete case study.

Continue Reading
Designing REST APIs in Practice: A Kubernetes Case Study

Designing REST APIs in Practice: A Kubernetes Case Study

Learn how to design robust, domain-driven REST APIs using HTTP semantics and clean architecture principles, using Kubernetes as a practical case study.

Continue Reading
Async and the Event Loop in Python: asyncio in Practice

Async and the Event Loop in Python: asyncio in Practice

Build a real async news aggregator step by step — fetching RSS feeds concurrently with aiohttp, the same code used in the Alfred open-source project. Each section adds one asyncio pattern: gather, TaskGroup, timeout, Semaphore, and format_news.

Continue Reading
Concurrency in Python: Threads, Processes, and the Event Loop

Concurrency in Python: Threads, Processes, and the Event Loop

Master Python concurrency: understand when to use threads, processes, or asyncio — and why the event loop became the backbone of modern high-throughput applications.

Continue Reading
Building a Database Layer in Python with SQLAlchemy ORM

Building a Database Layer in Python with SQLAlchemy ORM

Learn how to build a clean, transactional database layer in Python using SQLAlchemy ORM, a DatabaseSessionManager, DAO models, and the DAO vs DTO boundary inside a layered architecture.

Continue Reading
Building a Python CLI with Typer: The Modern Approach to the Command Pattern

Building a Python CLI with Typer: The Modern Approach to the Command Pattern

Typer brings Python type hints to CLI development — no decorators, no boilerplate, just annotated functions. See how it compares to argparse and Click on the same Task Manager CLI.

Continue Reading
Building a Python CLI with Click: A Cleaner Approach to the Command Pattern

Building a Python CLI with Click: A Cleaner Approach to the Command Pattern

Learn how the Click library simplifies Python CLI development — cleaner commands, built-in type validation, and no shared execute() boilerplate.

Continue Reading