<?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>Mon, 21 May 2012 08:13:47 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brandon Savage's Blog: Making Life Better With The SPL Autoloader]]></title>
      <guid>http://www.phpdeveloper.org/news/12937</guid>
      <link>http://www.phpdeveloper.org/news/12937</link>
      <description><![CDATA[<p>
<i>Brandon Savage</i> has <a href="http://www.brandonsavage.net/making-life-better-with-the-spl-autoloader/">a new post</a> to his blog today looking at autoloading in your application and how the functionality the Standard PHP Library (SPL) provides can make life simpler.
</p>
<blockquote>
If you've been in the business for any length of time you'd recognize this because almost every single PHP developer does it at one point or another. Until they learn about <a href="http://us.php.net/spl">SPL's</a> autoload functions, that is.
</blockquote>
<p>
He talks about the <a href="http://us3.php.net/manual/en/function.spl-autoload-register.php">spl_autoload_register</a> function that allows you to define your own custom callback function (not just __autoload) to handle the inclusion of the needed files. He even gives examples of some more complex situations where autoloading like this could come in handy.
</p>]]></description>
      <pubDate>Fri, 24 Jul 2009 10:49:52 -0500</pubDate>
    </item>
  </channel>
</rss>

