<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 18 May 2013 23:08:03 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[php|architect: Analysis: Following Ruby Makes PHP Number Two]]></title>
      <guid>http://www.phpdeveloper.org/news/15182</guid>
      <link>http://www.phpdeveloper.org/news/15182</link>
      <description><![CDATA[<p>
On the php|architect blog today <i>Bill Karwin</i> <a href="http://www.phparch.com/2010/09/23/analysis-following-ruby-makes-php-number-two/">has posted his response</a> to <a href="http://phpdeveloper.org/news/15177">this interesting suggestion</a> from <i>Dennis Hoston</i> about how to "reinvent" object-oriented programming in PHP.
</p>
<blockquote>
Dennis acknowledges that the name needs work. But, getting past that, his blog is about some creative experiments Dennis is working on.  He has come up with a pretty innovative way of creating objects dynamically in PHP that allows for some usage that conventional PHP coding techniques don't support.
</blockquote>
<p>
He talks about some of the features that this method allows that the usual style of OOP don't allow like class scoping, methods can be added at any times and that the classes created can be temporary. He points out that the base object is actually a <a href="http://en.wikipedia.org/wiki/Factory_pattern">factory</a> and makes it simple to create those other instances of child objects. He also mentions some of the features that will no longer work with <i>Deniss'</i> approach like interfaces, instanceof, reflection and autoloading to name a few.
</p>]]></description>
      <pubDate>Fri, 24 Sep 2010 10:13:04 -0500</pubDate>
    </item>
  </channel>
</rss>
