<?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>Wed, 09 Jul 2008 07:22:23 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Bill Karwin's Blog: ActiveRecord does not suck]]></title>
      <guid>http://www.phpdeveloper.org/news/10303</guid>
      <link>http://www.phpdeveloper.org/news/10303</link>
      <description><![CDATA[<p>
<i>Bill Karwin</i> (formerly of Zend and the Zend Framework project) has <a href="http://karwin.blogspot.com/2008/05/activerecord-does-not-suck.html">a new post</a> to his blog defending one of the more abused (both in code and in opinions) design patterns, ActiveRecord:
</p>
<blockquote>
ActiveRecord is fine.  It is a tool that does just what it's designed to do.  What sucks is when developers try to make it do other things than what it's intended to do.
</blockquote>
<p>
He <a href="http://karwin.blogspot.com/2008/05/activerecord-does-not-suck.html">cites</a> his work with the Zend_Db component and how <i>Mike Seth</i> gets it right when he says that the <a href="http://blog.mikeseth.com/index.php?/archives/4-ActiveRecord-sucks,-but-Kore-Nordmann-is-wrong.html#extended">pattern shouldn't be</a> "ActiveRecord-View-Controller". He compares the ideas of a true Model in an MVC application with the incorrect ideas that many developers seem to hold. 
</p>
<blockquote>
A Model is a class that provides a logical component of your application domain.  Models are products of OO design, which is a development activity I see get very little attention in the developer blogosphere or the developer tools market.
</blockquote>
<p>
Models can reference one or many (or no) database tables and are not where the hard work is being done. That's saved for the ORM (or ActiveRecord) to do.
</p>]]></description>
      <pubDate>Thu, 29 May 2008 17:07:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lukas Smith's Blog: Chatting with Rasmus (part one)]]></title>
      <guid>http://www.phpdeveloper.org/news/9884</guid>
      <link>http://www.phpdeveloper.org/news/9884</link>
      <description><![CDATA[<p>
<i>Lukas Smith</i> got a chance to <a href="http://pooteeweet.org/blog/0/1038#m1038">catch up with Rasmus Lerdorf</a> (and others in #php.pecl) and "talk shop" about topics including handling large libraries and maxclients settings.
</p>
<blockquote>
In this first post I will provide a link and some commentary on Rasmus's <a href="http://pooteeweet.org/public/doctrine.txt">points regarding Doctrine</a> (note I left independent chatter in the log in order to not have any chance of me filtering the content, but there is very little of that so I hope the discussion is still easy enough to follow).
</blockquote>
<p>
<li>Lukas</i> <a href="http://pooteeweet.org/blog/0/1038#m1038">introduces</a> Doctrine briefly (what it does) along with some general thoughts on ORMs and making code a bit more bye code cache friendly.
</p>]]></description>
      <pubDate>Mon, 31 Mar 2008 13:58:08 -0500</pubDate>
    </item>
  </channel>
</rss>
