<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higayasuo</author_name>
  <author_url>https://blog.hatena.ne.jp/higayasuo/</author_url>
  <blog_title>ひがやすを技術ブログ</blog_title>
  <blog_url>https://higayasuo.hatenablog.com/</blog_url>
  <categories>
    <anon>くーす</anon>
  </categories>
  <description>今、くーすを使った開発をやっていて、先行して始めた部分がほぼ出来上がろうとしているのですが、データのやり取りは、DTOを使っていて、Entityは結局使ってません。 Entityを使う場合は、Entityの構造とプレゼンテーション層で必要とする構造が異なるため、ViewHelperをかませるというのが、ポピュラーな方法ですが、これが結構手間です。Entityとプレゼンテーション層のデータ構造の変換を入力と出力の両方でやる必要があります。 それだったら、最初からプレゼンテーション層で扱いやすい構造のDTOを定義して、やり取りした方がいいジャンという考えです。 ただし、この方法は、O/Rマッピング…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigayasuo.hatenablog.com%2Fentry%2F20041010%2F1097399686&quot; title=&quot;DTO - ひがやすを技術ブログ&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>2004-10-10 18:14:46</published>
  <title>DTO</title>
  <type>rich</type>
  <url>https://higayasuo.hatenablog.com/entry/20041010/1097399686</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
