<?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>Sun, 19 May 2013 16:07:45 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Stubbles Blog: Loading classes from the XP-Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/7585</guid>
      <link>http://www.phpdeveloper.org/news/7585</link>
      <description><![CDATA[<p>
On the Stubbles blog, there's <a href="http://www.stubbles.org/archives/16-Loading-classes-from-the-XP-Framework.html">a new post</a> that describes how to load in classes from the <a href="http://xp-framework.info/xml/xp.en_US/static">XP-Framework</a> into the Stubbles framework.
</p>
<blockquote>
The following little example uses a so called foreign class loader that is responsible for a given namespace, in this case net.xp_framework. This class loader is registered within the default Stubbles class loader. After that, all classes that reside in the namespace where the foreign class loader is responsible for will be loaded via this class loader.
</blockquote>
<p>
The method they use is simple - seven lines of code simple. It loads in the class file using the load() functionality of the Stubbles framework making it so it can be called natively after creating an object for it.
</p>]]></description>
      <pubDate>Mon, 09 Apr 2007 12:22:00 -0500</pubDate>
    </item>
  </channel>
</rss>
