Tagged articles

DDD

338 articles · Page 1 of 4
Code Farming
Code Farming
Aug 19, 2026 · Databases

Applying DDD to Database Design in 4 Practical Steps

The article explains how to translate domain‑driven design into concrete database schemas by first shifting focus from tables to domain models, then mapping the four relationship types, choosing an inheritance strategy, and finally adapting the approach for NoSQL databases.

DDDDatabase DesignDomain Model
0 likes · 7 min read
Applying DDD to Database Design in 4 Practical Steps
Code Farming
Code Farming
Aug 17, 2026 · Backend Development

How DDD Handles Four E‑Commerce Payment Changes Step‑by‑Step

The article walks through a real e‑commerce payment case, showing how Domain‑Driven Design models entities, uses two key questions to split responsibilities, and continuously evolves the model to accommodate discounts, VIP features, and new payment adapters, reducing code churn.

DDDDomain-Driven DesignMicroservices
0 likes · 6 min read
How DDD Handles Four E‑Commerce Payment Changes Step‑by‑Step
Code Farming
Code Farming
Aug 11, 2026 · Backend Development

Can DDD’s Six‑Step Method Rescue a Broken Microservices Architecture?

The article presents a real‑world case of a ride‑hailing system whose microservices became tangled, and shows how applying Domain‑Driven Design—through strategic design, a six‑step refactoring roadmap, tactical four‑layer architecture, and context mapping—can systematically restore clean, business‑driven services.

DDDDomain-Driven DesignMicroservices
0 likes · 6 min read
Can DDD’s Six‑Step Method Rescue a Broken Microservices Architecture?
Ray's Galactic Tech
Ray's Galactic Tech
Aug 11, 2026 · Backend Development

Why the User Model in Orders Slows Microservices – DDD Context Demo in Java

The article explains how sharing the full User model inside the Order aggregate creates hidden coupling that blows up microservice performance, and shows a step‑by‑step DDD bounded‑context refactor with event‑storming, outbox, saga, idempotency and CQRS using Java 21, Spring Boot 3.x, MySQL and Kafka.

DDDKafkaMicroservices
0 likes · 35 min read
Why the User Model in Orders Slows Microservices – DDD Context Demo in Java
samdeepthink
samdeepthink
Jul 24, 2026 · Backend Development

When Should Domain Objects Contain Methods in a Rich DDD Model?

The article defines a clear rule for placing methods in DDD aggregates: a method belongs inside the domain object only when it can operate solely on data owned by that object, illustrated with order status and marketing activity examples.

Aggregate rootDDDDomain Objects
0 likes · 4 min read
When Should Domain Objects Contain Methods in a Rich DDD Model?
samdeepthink
samdeepthink
Jul 23, 2026 · Backend Development

Enterprise-Scale Source Code for 4 Real-World Projects: Flash Sale, Product Catalog, Payment System, and DDD Implementation

The author releases the complete, production‑ready source code for four enterprise‑level projects—a flash‑sale service handling 60 million members, a high‑concurrency product system for hundreds of millions of users, a payment platform serving over a hundred million users, and a three‑year DDD migration case study—while the fifth column remains under development.

DDDMicroservicesPayment Integration
0 likes · 5 min read
Enterprise-Scale Source Code for 4 Real-World Projects: Flash Sale, Product Catalog, Payment System, and DDD Implementation
The Dominant Programmer
The Dominant Programmer
Jul 21, 2026 · Backend Development

Practical Guide to Applying Domain‑Driven Design in Spring Boot Microservices

This guide explains Domain‑Driven Design (DDD) and shows how to structure Spring Boot microservices by organizing code around business domains, detailing strategic and tactical concepts, package layouts, layer responsibilities, cross‑domain communication, comparisons with traditional layering, evolution steps, and common FAQs.

Backend ArchitectureDDDDomain-Driven Design
0 likes · 19 min read
Practical Guide to Applying Domain‑Driven Design in Spring Boot Microservices
samdeepthink
samdeepthink
Jul 18, 2026 · Fundamentals

Why DDD Insists on a Single Repository per Aggregate

The article explains that in Domain‑Driven Design a Repository should target the aggregate, not individual tables, because the aggregate defines a consistency boundary; having separate repositories for master and detail tables breaks this boundary, allowing inconsistent writes and bypassing the aggregate root’s validation.

Aggregate rootConsistency boundaryDDD
0 likes · 9 min read
Why DDD Insists on a Single Repository per Aggregate
samdeepthink
samdeepthink
Jul 17, 2026 · Backend Development

When to Apply Domain Services in DDD: Finding the Right Place for Business Logic

The article explains that domain services are not optional in DDD but become necessary when aggregate roots cannot contain certain business rules, such as those requiring external data, batch processing, or rules that don’t belong to a single aggregate, and outlines principles for their proper use.

Anti-Corruption LayerApplication ServiceDDD
0 likes · 5 min read
When to Apply Domain Services in DDD: Finding the Right Place for Business Logic
Yumin Fish Harvest
Yumin Fish Harvest
Jul 16, 2026 · Backend Development

Step 1 of DDD in Action: A Preferred Store Case Study Shows How to Apply Strategic Design

This article walks through a complete DDD strategic‑design workshop for a community‑focused retail e‑commerce system, showing how to identify business goals, split sub‑domains, decide core versus supporting domains, define bounded contexts, build a unified language, draw context maps, capture risks, and prepare review artefacts before moving to tactical design.

Backend ArchitectureBounded ContextDDD
0 likes · 33 min read
Step 1 of DDD in Action: A Preferred Store Case Study Shows How to Apply Strategic Design
Yumin Fish Harvest
Yumin Fish Harvest
Jul 10, 2026 · Backend Development

How to Layer Code with DDD: Four‑Layer Architecture, DIP & Hexagonal

This article explains why and how to separate a system into four DDD layers—User Interface, Application, Domain, and Infrastructure—illustrates the benefits of clear responsibilities, demonstrates dependency inversion and hexagonal architecture with concrete Spring Boot examples, and warns of common pitfalls.

DDDDependency InversionSpring Boot
0 likes · 10 min read
How to Layer Code with DDD: Four‑Layer Architecture, DIP & Hexagonal
Yumin Fish Harvest
Yumin Fish Harvest
Jul 10, 2026 · Fundamentals

Why Aggregates Are So Hard in DDD: Using Invariants to Find Real Boundaries

The article explains that an aggregate is defined by the business invariants that must stay strongly consistent, shows how the aggregate root protects those rules, and provides concrete design principles—ID references, single‑aggregate transactions, small boundaries, validation tests, and common pitfalls—illustrated with an order domain example.

DDDDomain modelingInvariant
0 likes · 16 min read
Why Aggregates Are So Hard in DDD: Using Invariants to Find Real Boundaries
Yumin Fish Harvest
Yumin Fish Harvest
Jul 10, 2026 · Backend Development

Why Traditional Service Layers Fail and How DDD Restores Order

The article shows how a typical three‑layer OrderService accumulates scattered business rules, mixes technical details with domain logic, lacks clear boundaries, and diverges from business language, then explains how Domain‑Driven Design reorganizes code around aggregates and bounded contexts to solve these problems while outlining when DDD is unnecessary.

DDDDomain-Driven DesignService Layer
0 likes · 11 min read
Why Traditional Service Layers Fail and How DDD Restores Order
samdeepthink
samdeepthink
Jul 10, 2026 · R&D Management

Why I Proactively Gave a Young Engineer a Raise and Promotion

Over two years I promoted a junior developer to mid‑level, raised his salary, and increased his bonus after he consistently delivered clean DDD‑styled code, handled simple tasks flawlessly, proactively addressed third‑party integration challenges, and demonstrated the ability to take on greater responsibility, illustrating the true criteria leaders use for advancement.

DDDSystem Designcareer growth
0 likes · 8 min read
Why I Proactively Gave a Young Engineer a Raise and Promotion
Tinker Programmer
Tinker Programmer
Jul 8, 2026 · Backend Development

10 Common DDD Mistakes and How to Avoid Them

This article reviews ten frequent misuses of Domain‑Driven Design—ranging from over‑engineering simple CRUD apps to misusing layers, aggregates, services, repositories, and events—provides concrete counter‑examples, explains why they happen, and offers practical corrective guidelines plus a self‑check checklist.

DDDDomain modelingMicroservices
0 likes · 18 min read
10 Common DDD Mistakes and How to Avoid Them
Architectural Methodology
Architectural Methodology
Jul 3, 2026 · Fundamentals

From DDD’s Four‑Layer Model to Clean Architecture: Tracing the Evolution of Layered Design

The article examines how software architecture has progressed from the traditional DDD four‑layer structure through Hexagonal, Onion, and Clean architectures, explaining essential versus accidental complexity, layering principles, dependency inversion, and how each pattern refines modularity, testability, and dependency direction.

Clean ArchitectureDDDOnion Architecture
0 likes · 12 min read
From DDD’s Four‑Layer Model to Clean Architecture: Tracing the Evolution of Layered Design
Tinker Programmer
Tinker Programmer
Jul 1, 2026 · Backend Development

How Domain Events Decouple Communication Between Bounded Contexts

The article analyzes the pitfalls of synchronous calls in a payroll microservice, defines domain events and their naming conventions, compares them with message‑queue messages, and presents two concrete implementations—Spring ApplicationEvent for intra‑process decoupling and RocketMQ with a transactional outbox for cross‑process communication—while also clarifying when event sourcing is appropriate.

DDDDomain EventsMicroservices
0 likes · 15 min read
How Domain Events Decouple Communication Between Bounded Contexts
Architectural Methodology
Architectural Methodology
Jun 30, 2026 · Backend Development

From MVC Three‑Layer to DDD Four‑Layer: How Layered Architecture Evolves

Facing a large version release that made the existing MVC three‑layer system hard to maintain, the author outlines the shortcomings of thin entity models, scattered service logic, and code bloat, then presents a DDD‑based four‑layer architecture with domain‑driven design, DIP, and CQRS to improve cohesion, reduce complexity, and support long‑term evolution.

DDDDomain-Driven DesignMVC
0 likes · 11 min read
From MVC Three‑Layer to DDD Four‑Layer: How Layered Architecture Evolves
Tinker Programmer
Tinker Programmer
Jun 30, 2026 · Backend Development

Four Context Mapping Patterns for Cross‑Bounded‑Context Collaboration

The article explains how to integrate multiple bounded contexts in a payroll system by using four DDD‑based relationship patterns—Shared Kernel, Customer‑Supplier, Anti‑Corruption Layer, and Open Host Service—detailing their motivations, code organization, risks, and selection criteria.

Anti-Corruption LayerBounded ContextContext Mapping
0 likes · 17 min read
Four Context Mapping Patterns for Cross‑Bounded‑Context Collaboration
Architecture Breakthrough
Architecture Breakthrough
Jun 25, 2026 · R&D Management

How to Design System Architecture Diagrams with DDD in the AI Era

The article explains how architects can bridge high‑level platform diagrams and concrete implementation by using DDD‑based module functional diagrams that serve as prompts for AI code generation, avoiding low‑level detail while ensuring domain understanding guides development.

AI Prompt EngineeringArchitecture DiagramDDD
0 likes · 4 min read
How to Design System Architecture Diagrams with DDD in the AI Era
samdeepthink
samdeepthink
Jun 24, 2026 · R&D Management

You’re Confident Your Decision Is Right—How to Persuade Your Team

The article argues that persuasion is unnecessary for leaders, who should make final decisions, and for non‑leaders the proper approach is to clearly present ideas to the leader for decision‑making, illustrated with a microservice request case.

DDDMicroservicesdecision making
0 likes · 3 min read
You’re Confident Your Decision Is Right—How to Persuade Your Team
Subtle Storm
Subtle Storm
Jun 11, 2026 · R&D Management

The 5‑Layer Thinking Framework Every System Architect Needs

A great system architect must go beyond solid technical skills, mastering trade‑off analysis, true abstraction, complexity simplification, time‑dimension thinking, and systemic thinking to design high‑performance, maintainable solutions that align with business value.

DDDabstractioncomplexity reduction
0 likes · 7 min read
The 5‑Layer Thinking Framework Every System Architect Needs
ZhiKe AI
ZhiKe AI
Jun 7, 2026 · Backend Development

Why Event Sourcing Rebuilds State from an Event Sequence

The article explains how Event Sourcing stores immutable, ordered events instead of the current state, details aggregate rehydration, snapshots, and projections, clarifies its orthogonal relationship with CQRS and DDD, and debunks four common misconceptions about the pattern.

Backend ArchitectureDDDProjections
0 likes · 13 min read
Why Event Sourcing Rebuilds State from an Event Sequence
Architectural Methodology
Architectural Methodology
Jun 6, 2026 · Interview Experience

How to Plan a Phased Migration and Ensure Data Consistency for Legacy System Refactoring

The article outlines a step‑by‑step architecture redesign for a 20‑year‑old monolithic production system, detailing problem analysis, a phased microservice migration using the "killer" pattern, data‑sync strategies, distributed transaction handling, observability, rollback mechanisms, and practical interview‑style insights.

CanalCloud NativeDDD
0 likes · 15 min read
How to Plan a Phased Migration and Ensure Data Consistency for Legacy System Refactoring
ZhiKe AI
ZhiKe AI
Jun 6, 2026 · Backend Development

Why CQRS Is More Than Just Read‑Write Separation

The article explains that CQRS originates from CQS, separates command and query responsibilities, clarifies its relationship with Event Sourcing and DDD, debunks four common misconceptions, and shows how it trades complexity for freedom when write and read optimizations conflict.

CQSCommand Query SeparationDDD
0 likes · 13 min read
Why CQRS Is More Than Just Read‑Write Separation
Architectural Methodology
Architectural Methodology
Jun 5, 2026 · Interview Experience

How to Ace Architecture Interview Questions with Structured Thinking

The article explains that unlike developer interviews, architecture interviews focus on structured thinking, problem decomposition, and communication, and provides a step‑by‑step framework—break the problem, layer the design, weigh trade‑offs, and use a STAR‑plus‑technical format—along with concrete examples and common pitfalls to avoid.

DDDSTAR methodSystem Design
0 likes · 7 min read
How to Ace Architecture Interview Questions with Structured Thinking
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Apr 9, 2026 · Fundamentals

Mastering Domain-Driven Design: Core Concepts and Practical Guide

Domain-Driven Design (DDD) centers software architecture on business domains, breaking complex problems into clear subdomains, defining bounded contexts, ubiquitous language, and key building blocks such as entities, value objects, and aggregates, while guiding layered architecture and microservice decomposition for maintainable, collaborative systems.

DDDDomain-Driven DesignModeling
0 likes · 7 min read
Mastering Domain-Driven Design: Core Concepts and Practical Guide
SQB Blog
SQB Blog
Mar 27, 2026 · R&D Management

Can AI‑Driven DDD Turn Backend Development into an Assembly Line?

This article examines how AI‑assisted coding tools combined with a domain‑driven, spec‑driven workflow (DDD‑SDD) can reshape backend development from ad‑hoc “vibe coding” to a disciplined, automated production pipeline, illustrated with a real‑world retail feature implementation.

AICode ReviewDDD
0 likes · 15 min read
Can AI‑Driven DDD Turn Backend Development into an Assembly Line?
ITPUB
ITPUB
Mar 7, 2026 · Backend Development

Transform Messy Code with DDD + CQRS: A Practical Guide for Clean Architecture

Learn how to break the cycle of unreadable, tangled code by applying Domain-Driven Design and Command-Query Responsibility Segregation, with concrete examples, step-by-step refactoring, architecture diagrams, code snippets, and practical tips for gradually adopting these patterns in real-world backend projects.

DDDDomain modelingMicroservices
0 likes · 16 min read
Transform Messy Code with DDD + CQRS: A Practical Guide for Clean Architecture
LuTiao Programming
LuTiao Programming
Feb 25, 2026 · Backend Development

Beyond DTOs: 5 Advanced Java Record Techniques Most Developers Miss

This article reveals how Java records serve as immutable data‑modeling tools, demonstrating compact constructors for validation, embedding business logic, static factory methods, pattern‑matching integration, and response‑object usage, while also outlining their thread‑safety benefits and scenarios where records are unsuitable.

Compact ConstructorDDDImmutable
0 likes · 8 min read
Beyond DTOs: 5 Advanced Java Record Techniques Most Developers Miss
Java Tech Enthusiast
Java Tech Enthusiast
Feb 13, 2026 · Backend Development

How DDD + CQRS Can Turn Chaotic Java Code into Clean, Scalable Architecture

This guide shows how to break down tangled Java services using Domain‑Driven Design and Command‑Query Responsibility Segregation, providing concrete terminology, layered diagrams, code examples, and step‑by‑step migration strategies to improve maintainability, performance, and team communication.

DDDDomain-Driven Designcqrs
0 likes · 14 min read
How DDD + CQRS Can Turn Chaotic Java Code into Clean, Scalable Architecture
Code Wrench
Code Wrench
Jan 8, 2026 · Backend Development

From Hexagonal Architecture to DDD: A Practical Evolution Path for Your System

This article explains how hexagonal architecture serves as a solid foundation for gradually introducing domain‑driven design, outlines the stages of evolution, highlights common pitfalls, and provides concrete code examples to help teams decide when to move beyond hexagonal alone.

Clean ArchitectureDDDDomain-Driven Design
0 likes · 8 min read
From Hexagonal Architecture to DDD: A Practical Evolution Path for Your System
Architect
Architect
Jan 2, 2026 · Backend Development

How DDD Transforms Spring Cloud Alibaba Microservices: A Practical Guide

This article explains the fundamentals of Domain‑Driven Design, its core principles and two design phases, then shows how to apply DDD within a Spring Cloud Alibaba e‑commerce microservice system, providing a detailed layered architecture, file‑structure example, and recommendations for implementation.

DDDDomain-Driven DesignMicroservices
0 likes · 11 min read
How DDD Transforms Spring Cloud Alibaba Microservices: A Practical Guide
JavaGuide
JavaGuide
Dec 26, 2025 · Artificial Intelligence

MiniMax M2.1 Review: Can It Handle Real‑World Java and Multi‑Language Projects?

After testing MiniMax M2.1 on a full‑stack e‑commerce order‑management task, the author finds the model correctly implements DDD layers, transaction handling, custom exceptions, and even generates a polished cyber‑punk UI, while its Java‑to‑Go code respects each language’s concurrency model and scores over 88 on the VIBE benchmark.

AI codingDDDGo
0 likes · 8 min read
MiniMax M2.1 Review: Can It Handle Real‑World Java and Multi‑Language Projects?
JD Retail Technology
JD Retail Technology
Dec 25, 2025 · Backend Development

How We Rebuilt a 15‑Year‑Old Review Platform: From Monolithic Code to a Scalable DDD‑Driven Architecture

This article details the complete redesign of a fifteen‑year‑old e‑commerce review system, covering its legacy pain points, the strategic choice of a full‑stack reconstruction using Domain‑Driven Design, the new layered micro‑service architecture, data migration tactics, operational challenges, organizational safeguards, and the measurable performance gains achieved after launch.

DDDData MigrationMicroservices
0 likes · 35 min read
How We Rebuilt a 15‑Year‑Old Review Platform: From Monolithic Code to a Scalable DDD‑Driven Architecture
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 19, 2025 · Backend Development

How AI Powered a DDD‑Driven Refactor of Taobao’s Service Package System

This case study shows how AI was used to analyze a monolithic service‑package system, automatically identify bounded contexts, generate DDD‑aligned code skeletons, and refactor duplicated business logic, reducing development effort from 5‑8 person‑days to a configurable solution while improving maintainability and extensibility.

AI-assisted RefactoringBackend ArchitectureDDD
0 likes · 15 min read
How AI Powered a DDD‑Driven Refactor of Taobao’s Service Package System
Architect's Journey
Architect's Journey
Dec 8, 2025 · Backend Development

COLA‑DDD Layered Architecture: A Powerful Tool for Decoupling and Refactoring

The article explains how the COLA‑DDD layered architecture merges Clean Object‑Oriented and Layered Architecture with Domain‑Driven Design to eliminate large‑muddy code, improve iteration speed, enhance scalability, and provide clear layer boundaries, CQRS, event‑driven processing, and low‑risk technical evolution.

COLADDDDecoupling
0 likes · 11 min read
COLA‑DDD Layered Architecture: A Powerful Tool for Decoupling and Refactoring
dbaplus Community
dbaplus Community
Nov 23, 2025 · Fundamentals

How to Create a Universal Technical Diagram Language for Complex Systems

This article presents a comprehensive, practice‑tested methodology that combines C4, UML, DDD, micro‑service decomposition and other techniques into a standardized set of diagrams—context, architecture, deployment, domain/data models, sequence, state, concurrency and data‑flow—to improve communication and thinking across diverse system types.

C4 modelDDDMicroservices
0 likes · 11 min read
How to Create a Universal Technical Diagram Language for Complex Systems
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 9, 2025 · Backend Development

Why I Stopped Using DDD: Real‑World Pain Points and Lessons Learned

The article shares the author's practical frustrations with Domain‑Driven Design—covering confusing CQRS classifications, ambiguous aggregate‑root boundaries, performance conflicts, and the high time cost—while offering concrete examples, code snippets, and a candid conclusion that DDD should be applied judiciously rather than dogmatically.

DDDDomain-Driven Designcqrs
0 likes · 25 min read
Why I Stopped Using DDD: Real‑World Pain Points and Lessons Learned
Tencent Cloud Developer
Tencent Cloud Developer
Sep 25, 2025 · Fundamentals

Unlock the Secrets of Object‑Oriented Analysis & Design for Better Software

This comprehensive guide explores the evolution of object‑oriented programming, clarifies its core concepts, and walks readers through use‑case modeling, static and dynamic modeling, responsibility‑driven design patterns, and advanced modeling techniques, providing a complete knowledge framework for software engineers and architects.

AnalysisDDDObject-Oriented
0 likes · 44 min read
Unlock the Secrets of Object‑Oriented Analysis & Design for Better Software
IT Architects Alliance
IT Architects Alliance
Sep 6, 2025 · Backend Development

Why Most DDD Projects Fail and How to Implement It Effectively

This article examines why many DDD projects default to anemic models, identifies scenarios where DDD adds real value, and provides practical strategies—including aggregate redesign, event‑driven consistency, and incremental refactoring—to successfully implement Domain‑Driven Design in complex backend systems.

Backend ArchitectureDDDMicroservices
0 likes · 10 min read
Why Most DDD Projects Fail and How to Implement It Effectively
Architect's Journey
Architect's Journey
Aug 15, 2025 · Backend Development

Designing the Evolution of an Order Middle Platform: From Pain Points to a Big‑Platform + Small‑Chimney Architecture

The article analyzes the current pain points of an order middle platform, proposes standardized core field storage, evaluates four extension storage schemes (vertical tables, wide table, JSON, KV table), and presents a two‑stage implementation roadmap that combines a large middle platform with a small‑chimney architecture for unified ordering, querying, and operational workflows.

DDDJSON extensionKV table
0 likes · 12 min read
Designing the Evolution of an Order Middle Platform: From Pain Points to a Big‑Platform + Small‑Chimney Architecture
macrozheng
macrozheng
Jul 14, 2025 · Backend Development

Master Domain-Driven Design: From Theory to a Real SpringBoot Project

This article explains the fundamentals of Domain-Driven Design, compares it with traditional MVC, details DDD’s layered architecture, core concepts such as entities, value objects, aggregates, services and events, and walks through a complete SpringBoot demo project with code, directory layout, database schema and deployment steps.

DDDDomain-Driven DesignSpringBoot
0 likes · 29 min read
Master Domain-Driven Design: From Theory to a Real SpringBoot Project
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 8, 2025 · Backend Development

Master DDD: Practical Guide to Domain‑Driven Design Architecture with Code

This article introduces the fundamentals of Domain‑Driven Design (DDD), explains key concepts such as rich domain models, entities, value objects, aggregates, repositories, adapters, and application orchestration, and demonstrates their implementation through comprehensive Java code examples and a complete project structure diagram.

DDDDomain-Driven DesignRepository
0 likes · 15 min read
Master DDD: Practical Guide to Domain‑Driven Design Architecture with Code
php Courses
php Courses
Jun 13, 2025 · Backend Development

How to Transform Legacy PHP Code into a Clean, Testable Architecture

Legacy PHP applications often suffer from spaghetti code, global state abuse, mixed concerns, and lack of tests; this guide outlines a step‑by‑step refactoring strategy—adding a testing safety net, introducing dependency injection, separating concerns with MVC/DDD, adopting repository patterns, and leveraging modern tools like Composer and PHPStan—to evolve them into maintainable, testable, and scalable backend systems.

DDDbackend developmentlegacy code
0 likes · 6 min read
How to Transform Legacy PHP Code into a Clean, Testable Architecture
Tencent Cloud Developer
Tencent Cloud Developer
Jun 11, 2025 · Fundamentals

Master a Universal Technical Architecture Diagram Language for Any System

This article presents a practical, standardized "technical solution communication language" that unifies architecture diagrams—from context and system architecture to deployment, domain/data models, sequence, state, concurrency, and data‑flow—helping engineers across C‑end, B‑end, big‑data, and AI systems communicate designs clearly and consistently.

C4 modelDDDMicroservices
0 likes · 10 min read
Master a Universal Technical Architecture Diagram Language for Any System
MoonWebTeam
MoonWebTeam
May 30, 2025 · Fundamentals

Why Layered Architecture Is the Key to Scalable Web Applications

This article explains the evolution and benefits of layered software architecture—from early two‑layer designs to MVC, DDD, Clean Architecture, and the Monet framework—highlighting how clear responsibilities, adaptability, and proper dependency direction improve maintainability, scalability, and team collaboration.

Clean ArchitectureDDDSoftware Design
0 likes · 18 min read
Why Layered Architecture Is the Key to Scalable Web Applications
Baidu Geek Talk
Baidu Geek Talk
May 21, 2025 · Backend Development

Applying Domain‑Driven Design to Build Maintainable and Scalable Backend Architecture

This article explains how the increasing complexity of business logic in modern backend systems leads to tangled code, and demonstrates how strategic and tactical Domain‑Driven Design (DDD) concepts—such as bounded contexts, aggregates, entities, value objects, repositories, and application services—can decouple business and technology, improve maintainability, extensibility, and stability, and guide practical layered architecture implementation.

Backend ArchitectureDDDDomain-Driven Design
0 likes · 30 min read
Applying Domain‑Driven Design to Build Maintainable and Scalable Backend Architecture
Java Tech Enthusiast
Java Tech Enthusiast
Apr 20, 2025 · Backend Development

Understanding Domain-Driven Design (DDD) with Practical Examples

Domain‑Driven Design (DDD) aligns software structure with business concepts by embedding rules in rich domain models, using aggregates, domain services, and events, contrasting with traditional anemic layers, and is ideal for complex, evolving domains such as e‑commerce, finance, or ERP systems.

DDDDesign PatternsDomain-Driven Design
0 likes · 9 min read
Understanding Domain-Driven Design (DDD) with Practical Examples
dbaplus Community
dbaplus Community
Apr 9, 2025 · Backend Development

How DDD and Hexagonal Architecture Revamp Huolala’s CRM System

This article explores how Domain‑Driven Design and hexagonal (clean) architecture were applied to Huolala’s user CRM, detailing the tactical design patterns, module breakdown, code examples, and the step‑by‑step migration that improved scalability, maintainability, and development efficiency.

DDDDomain-Driven DesignMicroservices
0 likes · 43 min read
How DDD and Hexagonal Architecture Revamp Huolala’s CRM System
Architect's Journey
Architect's Journey
Feb 24, 2025 · Backend Development

Why I Stopped Using Spring’s @Autowired and Adopted Explicit Dependency Management

The article explains how automatic @Autowired injection can tightly couple domain models to the Spring container, hide dependencies, hinder testing, create circular‑dependency risks, and violate clean architecture, then demonstrates an explicit‑dependency approach with a custom SpringContext utility, compares both methods, and offers practical guidelines for layered design and testing.

AutowiredDDDExplicit Dependencies
0 likes · 7 min read
Why I Stopped Using Spring’s @Autowired and Adopted Explicit Dependency Management
Architect's Journey
Architect's Journey
Jan 22, 2025 · Backend Development

Deep Dive into DDD Rich Model: Best Practices

The article explains the DDD rich (or active) model, its core characteristics, compares it with the anemic model, and shows how to apply it in a shared‑rental billing domain using Java, DDD layers, domain events, and a lightweight framework.

Backend ArchitectureDDDDomain Events
0 likes · 10 min read
Deep Dive into DDD Rich Model: Best Practices
dbaplus Community
dbaplus Community
Jan 14, 2025 · Backend Development

Mastering High‑Performance, High‑Concurrency, High‑Availability Backend Systems

This article shares a backend engineer's practical methodology for building systems that simultaneously achieve high performance, high concurrency, and high availability, covering performance optimization, scaling strategies, fault‑tolerance techniques, and real‑world case studies from B‑ and C‑side logistics platforms.

DDDHigh AvailabilitySystem Design
0 likes · 27 min read
Mastering High‑Performance, High‑Concurrency, High‑Availability Backend Systems
Eric Tech Circle
Eric Tech Circle
Jan 14, 2025 · Backend Development

DDD vs MVC: Practical Trade‑offs, Pitfalls, and When to Keep It Simple

This article compares Domain‑Driven Design and MVC, outlines the architectural changes such as dependency inversion and layer separation, examines common drawbacks in real projects, and offers concrete guidance on when to adopt DDD, blend it with MVC, or stick to a lightweight CRUD‑centric approach.

Backend ArchitectureDDDDomain-Driven Design
0 likes · 9 min read
DDD vs MVC: Practical Trade‑offs, Pitfalls, and When to Keep It Simple
Huolala Tech
Huolala Tech
Jan 10, 2025 · Backend Development

How DDD and Hexagonal Architecture Transform a CRM System – A Practical Walkthrough

This article explores the practical application of Domain‑Driven Design and hexagonal architecture in a real‑world CRM system, detailing strategic and tactical design, module division, code examples, and a step‑by‑step migration from a traditional layered architecture to a more flexible, maintainable backend solution.

DDDDomain-Driven Designbackend development
0 likes · 49 min read
How DDD and Hexagonal Architecture Transform a CRM System – A Practical Walkthrough
Java Tech Enthusiast
Java Tech Enthusiast
Dec 31, 2024 · Backend Development

Discussion on Adopting Domain-Driven Design (DDD) in a Growing Business

The team concluded that adopting Domain‑Driven Design can be valuable, but only when a company can afford the upfront investment, has a shared language and cross‑department collaboration, possesses strong OOP expertise, and maintains a culture supportive of the required organizational change.

DDDDomain-Driven DesignMicroservices
0 likes · 4 min read
Discussion on Adopting Domain-Driven Design (DDD) in a Growing Business
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 30, 2024 · Backend Development

Comprehensive Introduction to Domain-Driven Design (DDD)

This article provides a comprehensive overview of Domain-Driven Design (DDD), explaining its core principles, layered architecture, domain model components such as entities, value objects, aggregates, and bounded contexts, and includes Java code examples to illustrate implementation.

DDDDesign PatternsDomain-Driven Design
0 likes · 6 min read
Comprehensive Introduction to Domain-Driven Design (DDD)
Code Ape Tech Column
Code Ape Tech Column
Dec 11, 2024 · Backend Development

Layered Architecture Design for SpringBoot Projects: Nine-Layer Structure and Detailed Implementation

This article explains the concept of layered architecture in Java backend projects, outlines five design dimensions, presents a nine‑layer SpringBoot module structure, and provides concrete code examples for each layer—including util, infrastructure, domain, service, integration, facade, client, controller, and boot—demonstrating how to achieve clean separation of concerns and maintainable code.

DDDSpringBootbackend
0 likes · 18 min read
Layered Architecture Design for SpringBoot Projects: Nine-Layer Structure and Detailed Implementation
DaTaobao Tech
DaTaobao Tech
Oct 21, 2024 · Fundamentals

The True Purpose of Classes and Functions: Beyond Reuse

The article argues that classes and functions serve as fundamental structural elements rather than mere tools for reuse, contending that excessive reuse can increase complexity while intentional redundancy simplifies maintenance, and advocating deep modules over shallow ones, illustrated by examples from Supercell, DingTalk, and a trivial shallow‑module code snippet.

DDDDRY principleSoftware Design
0 likes · 8 min read
The True Purpose of Classes and Functions: Beyond Reuse
Java Tech Enthusiast
Java Tech Enthusiast
Oct 7, 2024 · Backend Development

Domain-Driven Design (DDD) Architecture: Concepts, Layers, and Practices

Domain‑Driven Design (DDD) structures software around a rich domain model—entities, value objects, aggregates, and services—organized into UI, application, domain, and infrastructure layers, employing patterns such as aggregate roots, domain events, and event‑driven microservices to improve maintainability, scalability, and collaboration between developers and domain experts.

DDDDomain-Driven Designjava
0 likes · 41 min read
Domain-Driven Design (DDD) Architecture: Concepts, Layers, and Practices
Top Architect
Top Architect
Sep 27, 2024 · Backend Development

Why Adopt Microservices? Principles, Design Strategies, and Practical Implementation

This article explains why microservices have become a dominant architectural style, outlines the problems they solve, describes core characteristics, presents various splitting principles and methods, discusses the relationship with domain‑driven design, compares microservices to other architectures, and lists common technologies and best‑practice recommendations.

Backend ArchitectureDDDService Splitting
0 likes · 24 min read
Why Adopt Microservices? Principles, Design Strategies, and Practical Implementation
Tencent Cloud Developer
Tencent Cloud Developer
Sep 11, 2024 · Fundamentals

Advantages, Disadvantages, and Principles of Layered Architecture in Software Systems

Layered architecture offers abstract stability, functional reuse, cohesion, hidden complexity, and scalability, but can introduce extra complexity, performance overhead, and dependency risk, so designers should retain essential layers, enforce one‑way cross‑layer calls, depend only on lower layers, keep lower layers stable, and ensure each layer has a clear purpose.

DDDData WarehouseMicroservices
0 likes · 11 min read
Advantages, Disadvantages, and Principles of Layered Architecture in Software Systems
DaTaobao Tech
DaTaobao Tech
Sep 4, 2024 · Frontend Development

Best Practices for Component Design and Encapsulation in React

The article outlines React component design best practices by distinguishing generic UI components from business‑specific ones, separating UI and domain state, extracting reusable base components, applying patterns such as state lifting, context, memoization, and type‑safe props, and providing a checklist for clean encapsulation.

DDDEncapsulationReAct
0 likes · 10 min read
Best Practices for Component Design and Encapsulation in React
High Availability Architecture
High Availability Architecture
Sep 4, 2024 · Backend Development

Three‑High System Construction: Performance, Concurrency, and Availability – A Backend Engineering Methodology

This article presents a comprehensive backend engineering methodology for building "three‑high" systems that simultaneously achieve high performance, high concurrency, and high availability, covering performance tuning, horizontal and vertical scaling, hot‑key mitigation, fault‑tolerance mechanisms, isolation strategies, and practical DDD‑driven design.

DDDbackendhigh-availability
0 likes · 26 min read
Three‑High System Construction: Performance, Concurrency, and Availability – A Backend Engineering Methodology
JavaEdge
JavaEdge
Aug 23, 2024 · Backend Development

Mastering DDD Tactical Design: Entities, Value Objects, Aggregates and More

This article delves into the tactical design of Domain‑Driven Design, explaining core building blocks such as entities, value objects, aggregates, domain events, repositories, application services, and domain services, and shows how they help keep business logic centralized and expressive.

Application ServiceDDDDomain Event
0 likes · 9 min read
Mastering DDD Tactical Design: Entities, Value Objects, Aggregates and More
JavaEdge
JavaEdge
Aug 21, 2024 · Fundamentals

Merging Functional Programming with Domain‑Driven Design for Cleaner Architecture

This article explains how to apply functional programming concepts such as composition, monads, and applicatives to Domain‑Driven Design, covering code organization, trust boundaries, state‑machine modeling, and maintaining domain purity while highlighting the benefits and trade‑offs of this approach.

DDDDomain modelingFunctional Programming
0 likes · 9 min read
Merging Functional Programming with Domain‑Driven Design for Cleaner Architecture
Tencent Cloud Developer
Tencent Cloud Developer
Aug 14, 2024 · Fundamentals

From Business Modeling to System Use Case Diagrams: A Complete Guide to Requirements Analysis

The guide walks readers through clarifying vision, modeling business use case diagrams that capture external value, then translating those insights into detailed system use case diagrams and specifications—including actors, pre/postconditions, and paths—emphasizing that solid requirements, not code alone, drive enterprise profit.

DDDUMLUse Case Diagram
0 likes · 19 min read
From Business Modeling to System Use Case Diagrams: A Complete Guide to Requirements Analysis
Eric Tech Circle
Eric Tech Circle
Aug 11, 2024 · Backend Development

Reshaping a Microservice with DDD: A Practical Layered Architecture Guide

This article shares the author's experience of redesigning a microservice using Domain‑Driven Design, detailing a standardized layered architecture, directory structure, model conversions, common pitfalls, and practical recommendations to improve code clarity and testing efficiency.

DDDDomain-Driven DesignMicroservices
0 likes · 13 min read
Reshaping a Microservice with DDD: A Practical Layered Architecture Guide
JavaEdge
JavaEdge
Aug 10, 2024 · Backend Development

Why an Event Center Beats Traditional MQ in Modern Backend Architecture

This article explains how an event‑center abstracts domain events, offers a clear architecture and powerful features, compares it with raw message‑queue solutions, and provides Java code examples to help backend engineers adopt a more maintainable, decoupled design.

Backend ArchitectureDDDevent center
0 likes · 11 min read
Why an Event Center Beats Traditional MQ in Modern Backend Architecture
Architect
Architect
Aug 5, 2024 · Backend Development

How to Build a Scalable WebSocket Communication Service with Reliable Messaging

This article outlines the design of an internal WebSocket communication service that abstracts real‑time messaging, reduces code coupling, supports various business scenarios, ensures reliable delivery with RabbitMQ, defines unified APIs and message formats, and demonstrates a DDD‑based project structure for easy integration.

API DesignBackend ArchitectureDDD
0 likes · 10 min read
How to Build a Scalable WebSocket Communication Service with Reliable Messaging
Top Architect
Top Architect
Jul 31, 2024 · Backend Development

Why Adopt Microservices? Principles, Splitting Strategies, DDD Relationship, and Common Implementation Techniques

The article explains why microservices have become a mainstream architectural choice, outlines the shortcomings of monolithic systems, presents core design principles and various service‑splitting methods, discusses the synergy with Domain‑Driven Design, compares microservices with other architectures, and lists typical technologies used in practice.

Backend ArchitectureCloud NativeDDD
0 likes · 23 min read
Why Adopt Microservices? Principles, Splitting Strategies, DDD Relationship, and Common Implementation Techniques
Architect
Architect
Jul 28, 2024 · Backend Development

Why Microservices? Benefits, Principles, and Practical Implementation Guide

This article provides a comprehensive analysis of microservices, covering why they are adopted, the drawbacks of monolithic architectures, core characteristics, splitting principles and strategies, the relationship with Domain‑Driven Design, comparisons with other architectural styles, and a detailed overview of the common technical stack used to build and operate microservice systems.

Backend ArchitectureCloud NativeDDD
0 likes · 22 min read
Why Microservices? Benefits, Principles, and Practical Implementation Guide
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jul 24, 2024 · Backend Development

Mastering Domain-Driven Design: Core Concepts, Layers, and Practical C# Examples

Domain-Driven Design (DDD) is a software development methodology that bridges business and technology by defining clear domain models, improving communication, code quality, and handling complexity through layered architecture, with concrete C# examples of entities, value objects, aggregates, and domain services.

C++DDDDesign Patterns
0 likes · 7 min read
Mastering Domain-Driven Design: Core Concepts, Layers, and Practical C# Examples
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jul 22, 2024 · Backend Development

Understanding Domain-Driven Design (DDD) Architecture

This article introduces Domain-Driven Design (DDD), explains its core concepts, benefits, and the four-layered DDD architecture—including UI, Application, Domain, and Infrastructure layers—while also offering resources for deeper study and interview preparation.

DDDDesign PatternsDomain-Driven Design
0 likes · 6 min read
Understanding Domain-Driven Design (DDD) Architecture
Architect
Architect
Jul 4, 2024 · Industry Insights

How DDD Transforms Complex Marketing Systems: Strategic and Tactical Design Insights

This article explains how Meituan applied Domain‑Driven Design to build a scalable B‑side marketing platform, covering background challenges, core DDD concepts, strategic use‑case modeling, tactical code mapping, aggregation design, and practical architectural patterns for large‑scale systems.

Code ArchitectureDDDDomain-Driven Design
0 likes · 20 min read
How DDD Transforms Complex Marketing Systems: Strategic and Tactical Design Insights
JD Tech Talk
JD Tech Talk
Jun 12, 2024 · Backend Development

Applying Domain-Driven Design: A Restaurant Case Study for Architecture and Domain Modeling

This article presents a comprehensive, restaurant‑based case study that demonstrates how to apply Domain‑Driven Design principles—including domain analysis, unified language, domain division, service design, modeling, upstream/downstream relationships, layered architecture, and microservice decomposition—to create a clear, maintainable software architecture aligned with business requirements.

DDDDomain modelingDomain-Driven Design
0 likes · 22 min read
Applying Domain-Driven Design: A Restaurant Case Study for Architecture and Domain Modeling
JD Cloud Developers
JD Cloud Developers
Jun 12, 2024 · Backend Development

How to Turn a Restaurant Scenario into Concrete DDD Architecture

This article walks through a complete Domain‑Driven Design case study using a restaurant example, covering domain analysis, unified language, domain division, service design, modeling, upstream/downstream relationships, layered architecture, microservice boundaries, and functional implementation to illustrate how business concepts map to software structures.

DDDDomain modelingDomain-Driven Design
0 likes · 23 min read
How to Turn a Restaurant Scenario into Concrete DDD Architecture
Tencent Cloud Developer
Tencent Cloud Developer
Jun 6, 2024 · Backend Development

Tencent News Recommendation Architecture Upgrade

Tencent News upgraded its recommendation architecture by consolidating data platforms, redesigning index and feature services, adopting DDD and Lambda/Kappa patterns, and adding robust debugging and stability measures, which boosted availability to 99.99%, cut CPU, memory and cost by over 60%, and accelerated development and experiment cycles.

DDDTencent Newsbackend
0 likes · 28 min read
Tencent News Recommendation Architecture Upgrade
MoonWebTeam
MoonWebTeam
May 28, 2024 · Backend Development

Mastering DDD: How Aggregates and Aggregate Roots Simplify Complex Systems

This article explains core Domain‑Driven Design concepts—entities, value objects, bounded contexts, aggregates, and aggregate roots—illustrates design principles with a WeChat transfer example, and provides TypeScript code snippets to show how to model and implement aggregates for robust backend systems.

AggregatesDDDDomain modeling
0 likes · 19 min read
Mastering DDD: How Aggregates and Aggregate Roots Simplify Complex Systems
Architect
Architect
May 23, 2024 · Fundamentals

Unlocking Software Architecture: How Domain‑Driven Design Elevates Teams and Careers

This article explains Domain‑Driven Design (DDD) from its origins to practical modeling, compares it with MVC, outlines business and personal benefits, discusses drawbacks, details strategic and tactical concepts, and walks through a real‑world VOC product example using event‑storming and four‑color modeling.

DDDDomain-Driven DesignModeling
0 likes · 34 min read
Unlocking Software Architecture: How Domain‑Driven Design Elevates Teams and Careers
DaTaobao Tech
DaTaobao Tech
May 20, 2024 · Backend Development

Reflections on 2023: A Backend Engineer's Journey Through DDD, Business Architecture, and Judgment Models

Reflecting on his 2023 technical writings, the author—prompted by the TV series 'Reply 1988'—structures his insights into chapters covering Domain‑Driven Design lessons illustrated by a Forrest Gump metaphor, business‑architecture note‑taking, judgment models drawn from everyday driving, and personal projects like the VSEF framework and the “曲径通幽” series, emphasizing curiosity, knowledge sharing, and continual growth.

2023DDDJudgment
0 likes · 11 min read
Reflections on 2023: A Backend Engineer's Journey Through DDD, Business Architecture, and Judgment Models