News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Developing a Recursive Loading Class for Loader Applications in PHP
June 18, 2009 @ 10:27:08

DevShed has posted part three of their series looking at loader applications in PHP using the __autoload magic method.

While this file loading class in its current incarnation does a pretty good job, it lacks an important feature that could be added with relative ease. It cannot perform a recursive search through the web server's file system, and afterward include a specified file within a given application.

This article updates their class with a new feature to let the script looking for files recursively in a directory.

0 comments voice your opinion now!
loader recursive tutorial

blog comments powered by Disqus

Similar Posts Organize Your Next PHP Project the Right Way

Pathfinder Blog: PHP Spam Injection First Aid with Apache ModSecurity

Raphael Stolt's Blog: Rolling your own Phing task

PHP-GTK Community Blog: Articles on other sites (PHP6, an Intro & Desktop Apps)

James Fuller: Use @dataProvider to reduce duplication and improve the maintainability of your tests

Community Events

Don't see your event here?
Let us know!

laravel5 voicesoftheelephpant example wordpress library api series php7 language opinion podcast release version community interview introduction laravel framework unittest extension

All content copyright, 2015 :: - Powered by the Solar PHP Framework