<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>abcb2</author_name>
  <author_url>https://blog.hatena.ne.jp/abcb2/</author_url>
  <blog_title>気ままに書いてみました日記</blog_title>
  <blog_url>https://abcb2.hatenadiary.org/</blog_url>
  <categories>
    <anon>デザインパターン</anon>
    <anon>Perl</anon>
  </categories>
  <description>各クラスの意味や必要性がわかりにくい、といった場合は実装に近い側から読んでいくと掴める場合がよくある。今回は「工場で作ったカードを使う」ということが簡単に読み取れる。 コーディングもIDcardFactoryのnewから書き始めて、必要な部分を書いて、最後に抽象化できるところをAbstractとしてまとめた。 AbstractクラスはどんなProductやFactoryが来ても変更されることはなさそう。つまりフレームになっているということか。 use strict; use warnings; { package Abstract::Product; use strict; use warni…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fabcb2.hatenadiary.org%2Fentry%2F20090210%2F1234251550&quot; title=&quot;Factoryパターン - 気ままに書いてみました日記&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>2009-02-10 16:39:10</published>
  <title>Factoryパターン</title>
  <type>rich</type>
  <url>https://abcb2.hatenadiary.org/entry/20090210/1234251550</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
