DevShed: Working Out of the Object Context to Build Loader Apps ...

Courtesy PHPDeveloper.org  Fri, 06/26/2009 - 06:56

New on DevShed there's the latest part of a series of tutorials they've written up (fifth of eight) about building automatic loading functionality into your applications.

This time they change up their class to make the their loading function accessible outside of a class object.

To avoid an eventual (and unnecessary) instantiation of the loader class, it would be helpful to declare the mentioned "load()" method static.

Thus, bearing in mind this important concept, in this fifth...


 

More related items

DevShed: Using Static Methods to Validate Data with...
DevShed finishes off their series on data validation with this eighth part - a look at using static methods to create a simple validation helper class (a rework of earlier code). The...

DevShed: Enhancing a URL Handling Helper Class in PHP...
DevShed continues their look at making helpers in PHP5 classes with this new part of the series - updating their previous URL helper to change it over to a static class. As you'll possibly...

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


 

Post new comment

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