<?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, 19 Jun 2013 23:01:56 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Auto Loading Classes in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9168</guid>
      <link>http://www.phpdeveloper.org/news/9168</link>
      <description><![CDATA[<p>
A <a href="http://www.devshed.com/c/a/PHP/Auto-Loading-Classes-in-PHP-5/">new tutorial</a> on DevShed today takes a look at a handy bit of functionality that's included with PHP5 - the automatic autoloading of classes.
</p>
<blockquote>
As you might know, the "__autoload()" function, when used in a clever way, can eliminate almost completely the need to use the "require()/require_once()" and "include()/include_once()". [...] Now is the perfect time to move forward and start learning how to put the "__autoload()" magic function to work for you, and load your classes without having to include them manually into your PHP 5 object-oriented applications.
</blockquote>
<p>
They show the more traditional approach with a code example (just using the require/include method) then show the difference in using a custom defined autoload function to tell the script where to find the libraries.
</p>]]></description>
      <pubDate>Tue, 04 Dec 2007 09:25:00 -0600</pubDate>
    </item>
  </channel>
</rss>
