domain driven design - Size of a bounded context -
i've started learning principles of ddd , i'm trying grasp of concept of bounded context. in particular, how decide how big (or small) has be? yeah, know, small possible , big necessary (according vaughn vernon).
let's model blog. go , there 3 bounded contexts involved: 1) front page (featuring recent articles, no comments shown) 2) discussion (a single article including comments) 3) article composer (where compose article).
however, doesn't feel right (the ubiquitous language same of them), seems if i'm coming front end point of view , still thinking in terms of view models or something.
could please point me in right direction?
try @ whole domain different perspectives, editor of article, use sentences creating draft of article, publishing article, article reader in example read article , comment on it. alongside building domain language identify entities , behaviour, of them appear in 1 perspective, appear in both, distinct them behaviour. domain language shows boundries of each perspective, implement bounded contexts.
Comments
Post a Comment