You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Of course you can! The techniques we’re presenting in this book are intended to make your life <em>easier</em>. They’re not some kind of ascetic discipline with which to punish yourself.</p>
1062
1062
<divclass="paragraph">
1063
-
<p>In our first case-study system, we had a lot of <em>View Builder</em> objects that used repositories to fetch data and then performed some transformations to return dumb read models. The advantage is that when you hit a performance problem, it’s easy to rewrite a view builder to use custom queries or raw SQL.</p>
1063
+
<p>In the workspace/documents case-study system, we had a lot of <em>View Builder</em> objects that used repositories to fetch data and then performed some transformations to return dumb read models. The advantage is that when you hit a performance problem, it’s easy to rewrite a view builder to use custom queries or raw SQL.</p>
1064
1064
</div>
1065
1065
</dd>
1066
1066
<dtclass="hdlist1">How should use cases interact across a larger system? Is it a problem for one to call another?</dt>
1067
1067
<dd>
1068
-
<p>This might be an interim step. Again, in the first case study, we had handlers that would need to invoke other handlers. This gets <em>really</em> messy, though, and it’s much better to move to using a message bus to separate these concerns.</p>
1068
+
<p>This might be an interim step. Again, in the documents case study, we had handlers that would need to invoke other handlers. This gets <em>really</em> messy, though, and it’s much better to move to using a message bus to separate these concerns.</p>
1069
1069
<divclass="paragraph">
1070
1070
<p>Generally, your system will have a single message bus implementation and a bunch of subdomains that center on a particular aggregate or set of aggregates. When your use case has finished, it can raise an event, and a handler elsewhere can run.</p>
and many more; our apologies if we missed you on this list.</p>
611
611
</div>
612
612
<divclass="paragraph">
613
613
<p>Super-mega-thanks to our editor Corbin Collins for his gentle chivvying, and
614
-
for being a tireless advocate of the reader. Similarly-superlative thanks to the production staff, Katherine Tozer, Sharon Wilkey, Ellen Troutman-Zaig, and Rebecca Demarest, for your dedication, professionalism, and attention to detail. This book is immeasurably improved thanks to you.</p>
614
+
for being a tireless advocate of the reader. Similarly-superlative thanks to
615
+
the production staff, Katherine Tozer, Sharon Wilkey, Ellen Troutman-Zaig, and
616
+
Rebecca Demarest, for your dedication, professionalism, and attention to
617
+
detail. This book is immeasurably improved thanks to you.</p>
615
618
</div>
616
619
<divclass="paragraph">
617
620
<p>Any errors remaining in the book are our own, naturally.</p>
0 commit comments