| Newsgroups |
gmane.comp.programming.domain-driven-design |
| Message-ID |
<[email protected]> |
--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="UTF-8"
DQogDQogKiBMZWF2ZSB0aGUgb3JjaGVzdHJhdGlvbiB0byB0aGUgdXNlIGNhc2UgaW1wbGVtZW50
aW5nIHRoZSBiZWhhdmlvdXIuIFRoaXMgYWxzbyBzZWVtcyB3cm9uZywgYXMgdGhlIGRvbWFpbiBz
aG91bGQgYmUgcmVzcG9uc2libGUgZm9yIG1haW50YWluaW5nIGl0cyBpbnRlZ3JpdHkuIEEgdXNl
IGNhc2UgY3JlYXRpbmcgZHVwbGljYXRlIHJlbGF0aW9uc2hpcHMgY2Fubm90IGJlIHByZXZlbnRl
ZCBieSB0aGUgZG9tYWluIHdoZW4gdXNpbmcgdGhpcyBvcHRpb24uDQogDQoNCiAgTWF5YmUgd2Ug
c2hvdWxkIHN0YXJ0IHRvIHRoaW5rIG9mIHVzZSBjYXNlcyBhcyBiZWluZyBmaXJzdCBjbGFzcyBt
ZW1iZXJzIG9mIHRoZSBkb21haW4gYW5kIHRoZSBkb21haW4gbW9kZWwuIFRoZXkgYXJlICBhbHJl
YWR5IHBhcnQgb2YgdGhlIGRvbWFpbiBsYW5ndWFnZSwgSSBndWVzcy4gVGhleSBhcmUgcGFydCBv
ZiB0aGUgbWVudGFsIG1vZGVsIG9mIHRoZSBkb21haW4gZXhwZXJ0cy4gSXQgZmVlbHMgd3Jvbmcg
dG8gYmFuIHRoZW0gZnJvbSB0aGUgc29sdXRpb24gc3BhY2UhPw0KIEEgdXNlIGNhc2UgaXMgbGlr
ZSBhIGRvbWFpbiBzZXJ2aWNlIHdpdGggYSB2ZXJ5IG5hcnJvdyBmb2N1cy4gSXQgY2FuIGJlIHVz
ZWQgdG8gbWFrZSB0aGUgaW50ZXJhY3Rpb24gYmV0d2VlbiBhZ2dyZWdhdGVzIGV4cGxpY2l0IGFu
ZCByZW1vdmVzIHRoZSBuZWVkIHRvIGluamVjdCBhbGwgc29ydHMgb2Ygc3R1ZmYgaW50byB0aGVt
Lg0KIEZ1cnRoZXIsIGxvb2tpbmcgYXQgYWdncmVnYXRlIHJvb3RzIGFzIHRyYW5zYWN0aW9uIGJv
dW5kYXJpZXMgLCB0aGV5IHNob3VsZCBhY3R1YWx5IG9ubHkgY2FyZSBhYm91dCB0aGVpciBvd24g
aW52YXJpYW50cy4gS2VlcGluZyB0aGVtIHB1cmUgYW5kIGNyaXNwIG1lYW5zIG5vdCB0byBtYWtl
IHRoZW0gcmVhY2ggYmV5b25kIHRob3NlIGJvdW5kYXJpZXMsIHJpZ2h0PyBCdXQgb2YgY291cnNl
IHRoZXkgaW50ZXJhY3QgYW5kIHRob3NlIGludGVyYWN0aW9ucyBhcmUgYW4gaW1wb3J0YW50IHBh
cnQgb2Ygb3VyIGRvbWFpbi4gIEl0J3MgIndoYXQgdGhlIHN5c3RlbSBkb2VzIiENCiBUaGUgUGVy
c29uIHRha2VzIGNhcmUgb2YgYmVpbmcgbWFycmllZCBvbmx5IG9uY2UgZm9yIGEgZ2l2ZW4gcG9p
bnQgaW4gdGltZSwgdGhlIHVzZSBjYXNlIHJhdGhlciBjYXJlcyBhYm91dCBvbmx5IGNvdXBsaW5n
IHR3byB1bm1hcnJpZWQgcGVyc29ucy4NCiANCg0KIFJncywNCiANCg0KIFRob21hcw0KIA0KDQoN
Cg0K
--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<head>
<style type="text/css">
<!--
/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}
div.photo-title
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;
}
div.attach-table div.attach-row {
clear: both;
}
div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}
p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}
div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}
div.attach-table div.attach-row div div span {
font-weight: normal;
}
div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<html>
<head>
<style type="text/css">
<!--
#ygrp-mkp {
border: 1px solid #d8d8d8;
font-family: Arial;
margin: 10px 0;
padding: 0 10px;
}
#ygrp-mkp hr {
border: 1px solid #d8d8d8;
}
#ygrp-mkp #hd {
color: #628c2a;
font-size: 85%;
font-weight: 700;
line-height: 122%;
margin: 10px 0;
}
#ygrp-mkp #ads {
margin-bottom: 10px;
}
#ygrp-mkp .ad {
padding: 0 0;
}
#ygrp-mkp .ad p {
margin: 0;
}
#ygrp-mkp .ad a {
color: #0000ff;
text-decoration: none;
}
-->
</style>
</head>
<body>
<!-- |**|begin egp html banner|**| -->
<br><br>
<!-- |**|end egp html banner|**| -->
<br class="yui-cursor"><div class="ygroups-quoted"><br><div id="ygrps-yiv-830132343">* Leave the orchestration to the use case implementing the behaviour. This also seems wrong, as the domain should be responsible for maintaining its integrity. A use case creating duplicate relationships cannot be prevented by the domain when using this option.</div><div id="ygrps-yiv-830132343"><br></div><div id="ygrps-yiv-830132343"> Maybe we should start to think of use cases as being first class members of the domain and the domain model. They are already part of the domain language, I guess. They are part of the mental model of the domain experts. It feels wrong to ban them from the solution space!?</div><div id="ygrps-yiv-830132343">A use case is like a domain service with a very narrow fo
cus. It can be used to make the interaction between aggregates explicit and removes the need to inject all sorts of stuff into them.</div><div id="ygrps-yiv-830132343">Further, looking at aggregate roots as transaction boundaries , they should actualy only care about their own invariants. Keeping them pure and crisp means not to make them reach beyond those boundaries, right? But of course they interact and those interactions are an important part of our domain. It's "what the system does"!</div><div id="ygrps-yiv-830132343">The Person takes care of being married only once for a given point in time, the use case rather cares about only coupling two unmarried persons.</div><div id="ygrps-yiv-830132343"><br></div><div id="ygrps-yiv-830132343">Rgs,</div><div id="ygrps-yi
v-830132343"><br></div><div id="ygrps-yiv-830132343">Thomas</div><div id="ygrps-yiv-830132343"><p><span><br class="ygrps-yiv-830132343yui-cursor"></span></p></div></div>
<!-- |**|begin egp html banner|**| -->
<br>
<br>
<!-- |**|end egp html banner|**| -->
<div width="1" style="color: white; clear: both;"/>__._,_.___</div>
<div id="fromDMARC" style="clear:both; margin-top: 10px;">
<hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
Posted by: [email protected] <hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
</div>
<!-- Start Recommendations -->
<!-- End Recommendations -->
<!-- |**|begin egp html banner|**| -->
<img src="http://geo.yahoo.com/serv?s=97476590/grpId=8116923/grpspId=1705007181/msgId=24781/stime=1468994735" width="1" height="1"> <br>
<!-- |**|end egp html banner|**| -->
<!-- |**|begin egp html banner|**| -->
<br>
<!-- |**|begin egp html banner|**| -->
<div id="ygrp-vital" style="background-color: #f2f2f2; font-family: Verdana; font-size: 10px; margin-bottom: 10px; padding: 10px;">
<span id="vithd" style="font-weight: bold; color: #333; text-transform: uppercase; "><a href="https://groups.yahoo.com/neo/groups/domaindrivendesign/info;_ylc=X3oDMTJlYXRuaGZlBF9TAzk3MzU5NzE0BGdycElkAzgxMTY5MjMEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTQ2ODk5NDczNQ--" style="text-decoration: none;">Visit Your Group</a></span>
<ul style="list-style-type: none; margin: 0; padding: 0; display: inline;">
<li style="border-right: 1px solid #000; font-weight: 700; display: inline; padding: 0 5px; margin-left: 0;">
<span class="cat"><a href="https://groups.yahoo.com/neo/groups/domaindrivendesign/members/all;_ylc=X3oDMTJmbWEzb2o0BF9TAzk3MzU5NzE0BGdycElkAzgxMTY5MjMEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzE0Njg5OTQ3MzU-" style="text-decoration: none;">New Members</a></span>
<span class="ct" style="color: #ff7900;">1</span>
</li>
</ul>
</div>
<div id="ft" style="font-family: Arial; font-size: 11px; margin-top: 5px; padding: 0 2px 0 0; clear: both;">
<a href="https://groups.yahoo.com/neo;_ylc=X3oDMTJkMXJqNjRzBF9TAzk3NDc2NTkwBGdycElkAzgxMTY5MjMEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA2dmcARzdGltZQMxNDY4OTk0NzM1" style="float: left;"><img src="http://l.yimg.com/ru/static/images/yg/img/email/new_logo/logo-groups-137x15.png" height="15" width="137" alt="Yahoo! Groups" style="border: 0;"/></a>
<div style="color: #747575; float: right;"> • <a href="https://info.yahoo.com/privacy/us/yahoo/groups/details.html" style="text-decoration: none;">Privacy</a> • <a href="mailto:[email protected]?subject=Unsubscribe" style="text-decoration: none;">Unsubscribe</a> • <a href="https://info.yahoo.com/legal/us/yahoo/utos/terms/" style="text-decoration: none;">Terms of Use</a> </div>
</div>
<!-- |**|end egp html banner|**| -->
</div> <!-- ygrp-msg -->
<br>
<!-- |**|end egp html banner|**| -->
<div style="color: white; clear: both;"/>__,_._,___</div>
</body>
</html>
--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV--