Domain storytelling-one size fit all process

Domain Storytelling
one-size-fit-all process
2
HELLO!
I am Michael Chen (陳勉修)
I am here because …
I love to give
sharing
You can find me at
3
WHAT
WHY
HOW
DOMAIN
STORYTELLING
⬩ 實踐領域驅動設計的方法、流程與工具。
⬩ 組織成員溝通、聚焦與形成共識的工具。
4
Domain Storytelling
Product Development Process
5
Requirement Design
• Customer
Value
• Biz Value
• Biz to System
• Biz Flow
• System
Process
• System
Architecture
• Program
Structure
• Testing by
Scenario
Development Testing
Let’s first look an example
以TA為視角的 Biz Flow
Domain Storytelling Quick Guide for Tool
The Pictographic Language
⬩ BUILDING BLOCKS
⬩ SOMETHING ABOUT PRINCIPLES
⬩ GOOD LANGUAGE STYLES
7
ACTORS
8
WORK
OBJECTS
ACTIVITIES
SEQUENCE
NUMBERS
ANNOTATIONS
Let’s look again the example
以TA為視角的 Biz Flow
Domain Storytelling Quick Guide for Thought
10
Scenario-Based Modelling
 Scenarios are stories about people and their activities.
 One diagram, one story.
Scope
 Domain Storytelling is not a “one-size-fits-all” approach.
 There are different level of detail that stories have.
Scenario-Based Modelling
⬩ “故事”和“場景”都是業務流程具體、有意義的展示 .
⬩ 首先對預設情況(“80% 情況”)和“happy path”進行建模。
⬩ 透過粗粒度 的領域故事,幫助確定在何處進行更深入的挖掘以及將需要的其
他資源。
⬩ 藉由添加一些「細粒度」的領域故事,理解細節流程,即可開始原型設計。
Domain Storytelling Quick Guide for Thought
11
Domain Storytelling Quick Guide for Thought
Scope
⬩ Granularity 粒度
⬩ Domain Purity 領域純度
⬩ Point in Time 時間點
12
PURE vs DIGITALIZED
AS-IS vs TO-BE
Combining the Scope Factors
13
COARSE-GRAINED,
PURE, AS-IS
Scope = Granularity × Domain Purity
× Point In Time
FINE-GRAINED,
PURE, AS-IS
FINE-GRAINED,
DIGITALIZED, TO-BE
A Typical Journey
⬩ Explore a New Domain
◇ COARSE-GRAINED, PURE, AS-IS
⬩ Drill Down into Subdomains
◇ FINE-GRAINED, PURE, AS-IS
⬩ Introduce New Software
◇ FINE-GRAINED, DIGITALIZED, TO-BE
14
Let’s look next example
Scenario-Based & Scope
From Requirement to
Development & Testing
Domain Storytelling Process
Requirement to Design
17
Coarse-Grained
Domain Story
Customer
Journey Map
Fine-Grained
Domain
Storytelling
User Stories
Fine-Grained
Domain
Storytelling
User Story
Mapping
完成訂單超商繳費會員 User Story
18
As a 在超商繳款的樂屋網會員。
I want 接受與查詢年約訂單購買成功資訊。
So that 取得樂屋網年約刊登產品服務。
完成訂單超商繳費會員 User Story Mapping
19
超商繳費
訂單核帳
作業
取得超商
繳費收據
訂單商品
服務開通
作業
收到年約
商品購買
成功簡訊
點擊諫訓
通知連結
登入樂屋
網後檯
瀏覽年約
訂單開通
完成資訊
進行出售
物件刊登
定期取得
超商繳費
清算檔
讀取超商
繳費資料
比對繳費
資料與訂
單資料
確認訂單
繳費完成
開通訂單
服務商品
通知訂單
會員訂單
服務開通
資訊
訂單查詢
作業
Design to Development
20
System Architecture &
Program Structure
System Level Fine-Grained
Domain Storytelling
Biz Level Fine-Grained
Domain Storytelling
Implementation Level Fine-
Grained Domain Storytelling
DDD
戰術設計
Development to Testing
21
System Architecture &
Program Structure
BDD & Example
Mapping
System Level Fine-
Grained Domain
Storytelling
Scenario Testing
Domain Storytelling
is not a “one-size-fits-all” approach.
But can be a “one-size-fits-all ” process.
22
References
⬩ BOOK:
◇ Domain Storytelling: A Collaborative, Visual, and
Agile Way to Build Domain-Driven Software
⬩ Website:
◇ Domain Storytelling - Domain Storytelling
23
24
THANKS!
Any questions?
You can find me at:
michael.mh.chen
1 of 24

More Related Content

What's hot(20)

Ormとの付き合い方Ormとの付き合い方
Ormとの付き合い方
豊明 尾古5.6K views
MQTTとAMQPと.NETMQTTとAMQPと.NET
MQTTとAMQPと.NET
terurou39.8K views
概念モデリング再入門 + DDD概念モデリング再入門 + DDD
概念モデリング再入門 + DDD
Hiroshima JUG12.2K views
Deck from Cap Gemini ConferenceDeck from Cap Gemini Conference
Deck from Cap Gemini Conference
Geoffrey Moore3.6K views
자기소개서, 이력서 쓰는 법자기소개서, 이력서 쓰는 법
자기소개서, 이력서 쓰는 법
Minsuk Lee110.4K views

Domain storytelling-one size fit all process