<?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>Tue, 21 May 2013 11:44:16 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Andi Gutmans' Blog:  Fluent Interfaces]]></title>
      <guid>http://www.phpdeveloper.org/news/4585</guid>
      <link>http://www.phpdeveloper.org/news/4585</link>
      <description><![CDATA[With so many talking about fluent interfaces today, <i>Andi Gutmans</i> has tossed his hat into the ring with <a href="http://andigutmans.blogspot.com/2005/12/fluent-interfaces.html">this new blog post</a> with some of his thoughts.
<p>
<quote>
<i>
I'd like to add to <a href="http://paul-m-jones.com/blog/?p=188">Paul's</a> and <a href="http://www.mikenaberezny.com/archives/35">Mike's</a> posts regarding fluent interfaces.
<p>
I very much agree with them that this kind of method chaining allows to create very readable and intuitive interfaces. The million dollar question is when to actually use this kind of programming style.
<p>
Of course there are no definitive answers but I suggest to consider the following points: Use your intuition, If you don't have all of the data - reconsider using them, It really has to read well in your language (e.g. English), preferably as a complete sentence, and make sure that the base error handling it forces you to use is enough for your purposes.
</i>
</quote>
<p>
And, of course, he's <a href="http://andigutmans.blogspot.com/2005/12/fluent-interfaces.html">open to suggestions/comments</a> on the subject, as well as any proposals for guidelines that might need to be set out there...]]></description>
      <pubDate>Fri, 30 Dec 2005 07:21:53 -0600</pubDate>
    </item>
  </channel>
</rss>
