この際、DDD本の見返しの、パターン関連図を暗記してしまおうと思う。
丸暗記ってそれ自体が批判される事が多いけど、広さ方向の知識に関しては暗記は有効だと自分は思う。もちろん深さ方向の知識のための、精読と実践も並行するのが前提だけど、両方やってく事で、知識の量が上手く増えていくと思うんだな。
つうわけで、2・3年前に JavaScript で書いた暗記用のツールを再利用してみた。問題データを<div>で書いて、これを JavaScript で読み込んでアプレット風のものに表示するようにしている。JavaScript 自体よりBlogger に組み込むのがちょっと苦心した覚えがある。
ちなみにIEについては、6で動かず、7以上でも色設定が想定通りにならないが、気にしないことにした。
DDD のパターン同士の関連を覚えてみる
{
"height":200,
"width":400,
"opacity":0.9,
"start-color":"#000000",
"start-bg-color":"#FEFFFE",
"question-color":"#002200",
"question-bg-color":"#FEFFFE",
"statusbar-bg-color":"#FEFFFE",
"statusbar-color":"#000000",
"last-bg-color":"#FEFFFE",
"last-color":"#002200",
"answer-color":"#0044AA",
"answer-bg-color":"#FEFFFE",
"button-color":"#FEFFFE",
"caption":"DDD のパターン同士の関連を覚えてみる",
"caption-color":"#CCEEFF",
}
*(1)* reduce cost of change with Conceptual Contours
*(1)* simplify interpretation with Standalone Classes
*(1)* express model through Intention-Revealing Interfaces
*(1)* isolate domain with Layered Architecture
*(1)* express model as Modules
*(1)* express model as Entities
*(1)* express model as Value Objects
*(1)* express model as Services
*(1)* model out loud Model-Driven Design
*(1)* make composition safe Assertions
*(1)* make side effects explict with Assertions
*(1)* make safe and simple Side-Effect-Free Functions
*(5)* names enter Ubiquitous Language
*(2)* encapsulate with Factories
*(2)* encapsulate with Aggregates
*(1)* maintain integrity with Aggregates
*(2)* access with Repositories
*(2)* distill to Declarative Style
*(1)* point the way with Domain Vision Statement
*(1)* unencumber from Generic Subdomains
*(1)* repackage into Segregated Core
*(1)* emphasize in Ubiquitous Language
*(1)* relate disparate parts with Context Map
*(1)* concepts enter Core Domain
*(1)* structure carried in Ubiquitous Language
*(1)* keep unified by Continuous Integration
*(2)* structure through Evolving Order
Model-Driven Design reduce cost of change with *(1)*
Model-Driven Design simplify interpretation with *(1)*
Model-Driven Design express model through *(1)*
Model-Driven Design isolate domain with *(1)*
Model-Driven Design express model as *(4)*
Ubiquitous Language model out loud *(1)*
Side-Effect-Free Functions make composition safe *(1)*
Intention-Revealing Interfaces make side effects explict with *(1)*
Intention-Revealing Interfaces make safe and simple *(1)*
Services names enter *(1)*
Value Objects names enter *(1)*
Value Objects encapsulate with *(2)*
Entities names enter *(1)*
Entities encapsulate with *(1)*
Entities maintain integrity with *(1)*
Entities access with *(1)*
Modules names enter *(1)*
Aggregates encapsulate with *(1)*
Aggregates access with *(1)*
Generic Subdomains distill to *(1)*
Segregated Core distill to *(1)*
Core Domain point the way with *(1)*
Core Domain unencumber from *(1)*
Core Domain repackage into *(1)*
Core Domain emphasize in *(1)*
Core Domain relate disparate parts with *(1)*
Core Domain structure through *(1)*
Evolving Order concepts enter *(1)*
Evolving Order structure carried in *(1)*
Bounded Context names enter *(1)*
Bounded Context keep unified by *(1)*
Context Map structure through *(1)*
DDD のパターン同士の関連を覚えてみる | |
DDD のパターン同士の関連を覚えてみる | |
1周目 全:59問 済:0問 残:59問 |
覚えたら問題をもっと増やしていこうと思う。