News Feed
Sections




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

SitePoint PHP Blog:
SmartLoader Reloaded
April 07, 2006 @ 08:36:43

When he wrote this previous post on __autoloading classes, he didn't know he'd get as large of a response as he did. So, based on that, he decided to post a follow-up with a new version and some improvements.

The enhancements include: the addition of directory scanning for the files, using the SPL RecursiveDirectoryIterator for scanning, and Windows support (via the DIRECTORY_SEPARATOR constant).

The post also includes a note on the backwards compatibility (fine except for an issues with a preg_match_all) and a quick example of how to use it.

0 comments voice your opinion now!
smartloader reloaded __autoload new version smartloader reloaded __autoload new version


blog comments powered by Disqus

Similar Posts

Community News: Drual 5.0 Released (on it's 6th Birthday!)

Community News: phpPgAmin 4.1 Released

Pierre-Alain Joye's Blog: Finally some new features are coming, zip-1.9.0 serie began

Johannes Schluter's Blog: Class posing and overloading the "new" operator

Rob Allen's Blog: Zend Framework Tutorial for ZF v0.8


Community Events





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


configure bugfix community release laravel list series application library code install interview developer threedevsandamaybe framework podcast introduction wordpress api language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework