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 ReadingBlog Archives: Blog
Learn how to design robust, domain-driven REST APIs using HTTP semantics and clean architecture principles, using Kubernetes as a practical case study.
Continue ReadingBuild 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 ReadingMaster Python concurrency: understand when to use threads, processes, or asyncio — and why the event loop became the backbone of modern high-throughput applications.
Continue ReadingLearn 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 ReadingTyper 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 ReadingA practical checklist for writing Dockerfiles that produce functional, lightweight, debuggable, and secure images — multi-stage builds, layer ordering, healthchecks, and more.
Continue Reading