News Feed
Jobs Feed
Sections




News Archive
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

KillerSoft.com: Several New Pearified Packages

Gonzalo Ayuso's Blog: Keep our PostgreSQL databases synchronized with PHP. Database version control

Symfony Project: symfony 1.0 released

KillerSoft.com: Several New Pearified Packages

Rob Allen's Blog: Setting up ZF2's Zend\Tool side by side with ZF1


Community Events











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


symfony2 framework phpunit usergroup testing development language functional opinion conference release unittest interview rest community database podcast introduction zendframework2 series

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