<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/phimx/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/phimx/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/phimx/feature-requests/</id><updated>2012-04-29T13:26:11Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>Implementing an autload mechanism</title><link href="https://sourceforge.net/p/phimx/feature-requests/1/" rel="alternate"/><published>2012-04-29T13:26:11Z</published><updated>2012-04-29T13:26:11Z</updated><author><name>darkpills</name><uri>https://sourceforge.net/u/darkpills/</uri></author><id>https://sourceforge.netf034c83a5d30b281711cd7bd697ded016b00c968</id><summary type="html">&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;</summary></entry></feed>