Slide 1

Slide 1 text

DOMAIN DRIVEN DESIGN Joe Wang

Slide 2

Slide 2 text

ERIC EVANS 2003 http://domainlanguage.com/

Slide 3

Slide 3 text

Overview from wikipedia

Slide 4

Slide 4 text

So, What’s DDD?

Slide 5

Slide 5 text

Traditional Layer Architecture CONTROLL ER SERVICES DAO INDEX/ RESTFUL BUSINESS LOGIC MODEL

Slide 6

Slide 6 text

DDD Architecture

Slide 7

Slide 7 text

DDD Architecture

Slide 8

Slide 8 text

A Real World Demo

Slide 9

Slide 9 text

The Difference - OO vs procedural programming - Rich model vs anemic model - The placement of business logic - logic coherence vs dispersion - focus on business vs focus on implementation - extensibility - Domain model first vs DB first

Slide 10

Slide 10 text

Keywords of DDD - Bounded Context - Ubiquitous Language - CI - Context Map

Slide 11

Slide 11 text

Some Concepts in DDD - Value Object - Entity - Aggregate - Domain Event - Repository - Service - Factory

Slide 12

Slide 12 text

Some Concepts in DDD

Slide 13

Slide 13 text

DDD & GraphQL Use GraphQL as Endpoint GraphQL

Slide 14

Slide 14 text

DDD & MicroService

Slide 15

Slide 15 text

DDD & MicroService The boundary of a MicroService

Slide 16

Slide 16 text

DDD & MicroService The layer inside a MicroService