<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shot6</author_name>
  <author_url>https://blog.hatena.ne.jp/shot6/</author_url>
  <blog_title>おおたに6号機blog</blog_title>
  <blog_url>https://shot6.hatenadiary.org/</blog_url>
  <categories>
    <anon>JSF</anon>
    <anon>barista</anon>
  </categories>
  <description>最近、よくDRY原則のことについて考えます。Don't Repeat Yourselfです。 Webアプリケーションでは、よくバリデーション機能を クライアントとサーバーで同じものを実装します。 例えば必須チェックや相関チェックなど、クライアントでもやって、 サーバーでもやりますよね。 J2EEで一般的なのは、クライアントはJavaScriptで、 サーバーサイドはCommons-Validatorのようなチェック機能でしょう。 （個人的にこの辺りは独自なものを使ってることが多いですが・・・・） でもそれってDRY原則に反しているような気がしてなりません。 重複して同一の機能を実装することは、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshot6.hatenadiary.org%2Fentry%2F20050824%2F1124887983&quot; title=&quot;DRY原則とバリデーション機能 - おおたに6号機blog&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>2005-08-24 21:53:03</published>
  <title>DRY原則とバリデーション機能</title>
  <type>rich</type>
  <url>https://shot6.hatenadiary.org/entry/20050824/1124887983</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
