Blog

Technical Blog

Notes on software development, AI tooling, and personal project practices.

All41Distributed Microservices4DDD Domain Modeling29Vibe Coding Projects8

Three Tables That Take You from CRUD to DDD

An introduction to three practical tables — the entity behavior table, the domain context table, and the domain service capability table — that help you move from a CRUD mindset to DDD domain modeling, with a full HR system worked example.

COLA Application Architecture: From 1.0 to 4.0

How Alibaba's COLA application architecture evolved: the complexity it targets, the changes from 1.0 through 4.0 and their packaging strategies, where it has been used, and its learning cost.

DDDPlus: A DDD Framework for Business Middle Platforms

An overview of DDDPlus: its positioning and origins, the modules in its business-platform blueprint, its core features and official demos, and the trade-offs around extensibility, coupling, and maintainability.

Diamond Symmetry Architecture: Combining Hexagonal and Layered Ideas

An overview of Zhang Yi's Diamond Symmetry Architecture: its origins, northbound and southbound gateways, ports and adapters, where it has been applied, and the trade-offs compared with layered and hexagonal architectures.

The DDD Handbook: Theory, Architecture, Modeling, and Practice

Five parts of DDD learning notes covering core patterns, architecture styles, engineering reflections, domain modeling, and blog and NBA platform code walkthroughs.

DDD Modeling in Practice: Rebuilding an Enterprise Office System's Domains

Rebuilding five enterprise systems (HR, user center, recruitment, permissions, tickets) with DDD: entity and context tables, domain class diagrams, database E-R diagrams, and schema scripts.

DDD Best Practices

A practical DDD roadmap covering the learning barriers, how to learn, and how to apply it: read wide then boil down, docs before code, architecture before framework, business before technology.

DDD in Practice -- NBA Basketball Operations Platform

Building a basketball operations platform modeled on real NBA scenarios: domain contexts, multi-project service decomposition, and the call flows for draft entry, scheduling and statistics, player signing, trades, and standings.

DDD in Practice -- Social Relationships (Blog/Topic)

A DDD code walkthrough for blog and forum products: package decomposition, collaboration between the application and domain layers, and the publish-post and follow-user call flows.

Thoughts on Cross-Layer Calls in DDD

A COLA-based look at cross-layer calls in DDD: Alibaba's layered conventions, CQRS queries, message callbacks, the conformist pattern, and how to handle cross-layer return values.