<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shojisuba</author_name>
  <author_url>https://blog.hatena.ne.jp/shojisuba/</author_url>
  <blog_title>simple-web-system technology</blog_title>
  <blog_url>https://www.simple-web-system.work/</blog_url>
  <categories>
    <anon>考察</anon>
  </categories>
  <description>最近、DDD（ドメイン駆動設計）について考えていると、どうしてもぶつかる壁がある。「参照系と更新系の非対称性」と、そこから生まれる「理想と現実の乖離」だ。 ドメインモデルは本来、ビジネスの世界をコードとして表現したいはずなのに、実用的なパフォーマンスを追い求めると、コード上の表現力がどんどん痩せ細っていく。この矛盾にどう折り合いをつけるか、最近の思考の整理。 理想：関係性の完全な表現 DDDを学び始めた頃、誰もが夢見るのが「Pureなドメインモデル」だ。 そこでは、すべてのオブジェクトが有機的に繋がっている。 // 理想的な世界 class Order { // 注文から顧客へ、オブジェクトと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.simple-web-system.work%2Fentry%2F2025%2F12%2F10%2F003357&quot; title=&quot; DDDの「理想」と「実用」の狭間で。あるいはGraphQLが救世主になる理由 - simple-web-system technology&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-12-10 00:33:57</published>
  <title> DDDの「理想」と「実用」の狭間で。あるいはGraphQLが救世主になる理由</title>
  <type>rich</type>
  <url>https://www.simple-web-system.work/entry/2025/12/10/003357</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
