<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/phimx/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/phimx/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 29 Apr 2012 13:26:11 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/phimx/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Implementing an autload mechanism</title><link>https://sourceforge.net/p/phimx/feature-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In the case of a developement made into a recent framework, we do not need to declare file dependencies through "require_once" directives.&lt;/p&gt;
&lt;p&gt;When loading recursively a directory of source files with phimx, it does a "requires" on files. When dependencies are not declared, it crashes in a fatal error.&lt;/p&gt;
&lt;p&gt;To prevent this from appening, you could implement an autoload mechanisms through spl_autoload_register().&lt;/p&gt;
&lt;p&gt;It would cache the parsed files and use them when a not loaded class is used.&lt;/p&gt;
&lt;p&gt;Implementation and testing is already done in this file (PHiMX_Runner.php). &lt;/p&gt;
&lt;p&gt;Please check it and commit it into the sourceforge repository if you validate it.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Vincent MICHEL&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">darkpills</dc:creator><pubDate>Sun, 29 Apr 2012 13:26:11 -0000</pubDate><guid>https://sourceforge.netf034c83a5d30b281711cd7bd697ded016b00c968</guid></item></channel></rss>