<?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>Thu, 23 May 2013 10:40:17 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ServerGrove Blog: Configuring Symfony to use Zend Framework 1.8.0 new Autoloader]]></title>
      <guid>http://www.phpdeveloper.org/news/12444</guid>
      <link>http://www.phpdeveloper.org/news/12444</link>
      <description><![CDATA[<p>
<a href="http://blog.servergrove.com/2009/05/01/configuring-symfony-to-use-zend-framework-180-new-autoloader/">This new post</a> on the ServerGrove blog today looks at using the updated Zend_Loader component of the <a href="http://framework.zend.com">Zend Framework</a> from inside a Symfony application.
</p>
<blockquote>
Zend Framework 1.8.0 <a href="http://devzone.zend.com/article/4524-Zend-Framework-1.8.0-Released">was released yesterday</a> and if you are using it within a Symfony project, you need to know something: Starting on 1.8.0 Zend_Load::autoload() is deprecated and will be removed on 2.0.0.
</blockquote>
<p>
With the updated loader, if you'd like to use it inside Symfony, you need to change the function you're using to autoload via a call to <a href="http://php.net/spl_autoload_register">spl_autoload_register</a>. Point this at the Zend Framework code and you should be good to go.
</p>]]></description>
      <pubDate>Fri, 01 May 2009 15:56:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Martynas Jusevicius' Blog: PHP 5 features: Class autoloading]]></title>
      <guid>http://www.phpdeveloper.org/news/9194</guid>
      <link>http://www.phpdeveloper.org/news/9194</link>
      <description><![CDATA[<p>
<i>Martynas Jusevicius</i> continues his look at the enhanced features that PHP5 has to offer with <a href="http://www.xml.lt/Blog/2007/12/05/PHP+5+features%3A+Class+autoloading">this post</a> focusing on the ability to autoload classes that haven't been defined yet.
</p>
<blockquote>
Continuing the <a href="http://www.xml.lt/Blog/2007/10/07/PHP+5+tips%3A+DateTime+class">series about useful features in PHP 5</a>, another overlooked one is <a href="http://www.php.net/autoload">class autoloading</a>. [...] Basically, you get a class name as a parameter in your __autoload() function, and using it you have to figure out the path to the actual class file and include it.
</blockquote>
<p>
He includes both a description and an example of some code in action and even points out something that can help to make for cleaner, more organized code - the ability to register more than one autloader with the <a href="http://www.php.net/manual/en/function.spl-autoload-register.php">spl_autoload_register</a> function.
</p>]]></description>
      <pubDate>Fri, 07 Dec 2007 10:29:00 -0600</pubDate>
    </item>
  </channel>
</rss>
