<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kwatch</author_name>
  <author_url>https://blog.hatena.ne.jp/kwatch/</author_url>
  <blog_title>kなんとかの日記</blog_title>
  <blog_url>https://kwatch.hatenadiary.org/</blog_url>
  <categories>
    <anon>php</anon>
    <anon>oop</anon>
  </categories>
  <description>クラスを作るとき、ふつうはクラス名を名詞に、メソッド名を動詞にする。 class FileLoader { // クラス名は名詞 def load(name) { // メソッド名は動詞 ... } } しかし PHP のフレームワーク CodeIgniter では、一部のクラスでこれが逆になっている。つまり、クラス名が動詞で、メソッド名が名詞なのだ。 class Load { function model($name) { ... } function helper($name) { ... } function library($name) { ... } } CodeIgniter では…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkwatch.hatenadiary.org%2Fentry%2F20080710%2F1215695122&quot; title=&quot; クラス設計の常識に反して、クラス名を動詞に、メソッド名を名詞にする - kなんとかの日記&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>2008-07-10 22:05:22</published>
  <title> クラス設計の常識に反して、クラス名を動詞に、メソッド名を名詞にする</title>
  <type>rich</type>
  <url>https://kwatch.hatenadiary.org/entry/20080710/1215695122</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
