DevShed: Developing a Recursive Loading Class for Loader Applica...

Courtesy PHPDeveloper.org  Thu, 06/18/2009 - 09:27

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...


 

More related items

DevShed: PHP Closures as View Helpers: Lazy-Loading...
In the second part of their look at using closures in PHP as view helpers, DevShed improves upon their original code by adding some additional classes and using them in the closures. The...

DevShed: Handling File Data with PHP (Reading &...
DevShed has posted the fifth part of their "handling files in PHP" tutorial series today (excerpted from the book "Beginning PHP and PostgreSQL 8: From Novice to Professional") with a focus...

Open-source skills best hope for landing a good job
The Register: "Open-source technology skills may be the best hope for landing a good job."


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com