Skip to content

Commit 009cef4

Browse files
committed
Small improvements
1 parent e298d7d commit 009cef4

1 file changed

Lines changed: 11 additions & 17 deletions

File tree

src/presentations/DeepDiveDomainDrivenDesign/DeepDiveDomainDrivenDesign.tsx

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,10 @@ export const DeepDiveDomainDrivenDesign = ({scroll, shortVersion}: DeepDiveDomai
5757
<li>Definition</li>
5858
<li>Diving Deeper (Demo)</li>
5959
{
60-
shortVersion ? <></> : <li>Departing the Depths<Emphasis>*</Emphasis><br/><small
60+
!shortVersion && <li>Departing the Depths<Emphasis>*</Emphasis><br/><small
6161
className={"fragment"}><Emphasis>*</Emphasis> Software Architecture</small></li>
6262
}
6363
</ul>
64-
<p>
65-
66-
</p>
6764
</section>
6865

6966
{/* INTRO: DDD:Definition */}
@@ -147,7 +144,7 @@ export const DeepDiveDomainDrivenDesign = ({scroll, shortVersion}: DeepDiveDomai
147144
<h1 className={styles.title}>DDD<Emphasis>/</Emphasis>Diving Deeper</h1>
148145
<h2 className={styles.subtitle}>Background<Emphasis>:</Emphasis> The 3-tier application
149146
architecture<Emphasis>.</Emphasis></h2>
150-
<MermaidDiagram id={"domainmodel"} data-id={"domainmodel-diagram"}>
147+
<MermaidDiagram id={"3-tier-architecture"} data-id={"domainmodel-diagram"}>
151148
{
152149
// language=Mermaid
153150
`%%{init: {
@@ -522,18 +519,15 @@ export const DeepDiveDomainDrivenDesign = ({scroll, shortVersion}: DeepDiveDomai
522519
<li>Split the <Emphasis><code>Contribution</code></Emphasis> aggregate into two
523520
aggregates: <Emphasis><code>Contribution</code></Emphasis> and <Emphasis><code>Post</code></Emphasis></li>
524521
<li>New feature<Emphasis>:</Emphasis> Reply to replies</li>
525-
{shortVersion
526-
? <></>
527-
: <>
528-
<li>Introduce <Emphasis>Event Sourcing</Emphasis></li>
529-
<li>
530-
Introduce <Emphasis>CQRS</Emphasis>
531-
<ul>
532-
<li>Keep track of user reputation in an optimized projection database</li>
533-
</ul>
534-
</li>
535-
</>
536-
}
522+
{!shortVersion && <>
523+
<li>Introduce <Emphasis>Event Sourcing</Emphasis></li>
524+
<li>
525+
Introduce <Emphasis>CQRS</Emphasis>
526+
<ul>
527+
<li>Keep track of user reputation in an optimized projection database</li>
528+
</ul>
529+
</li>
530+
</>}
537531
</ul>
538532
</section>
539533

0 commit comments

Comments
 (0)