News Feed
Sections




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

Matthew Weier O'Phinney's Blog:
Backported ZF2 Autoloaders
May 11, 2011 @ 09:33:20

In a new post Matthew Weier O'Phinney talks about autoloaders in the Zend Framework and the changes they've made from ZF1 to ZF2. He also includes a link to a package you can try out if you'd like to backport the ZF2 autoloaders to your ZF1 application.

Interestingly, I've had quite some number of folks ask if they can use the new autoloaders in their Zend Framework 1 development. The short answer is "yes," assuming you're running PHP 5.3 already. If not, however, until today, the answer has been "no." I've recently backported the ZF2 autoloaders to PHP 5.2, and posted them on GitHub [tarball here].

His autoloader backport scripts include a class map generation tool, a PSR-0 compliant autoloader, a class map autoloader and an autoloader factory for loading multple strategies at once. He also includes a sample of how to use it with a bit of the output it might give you for your project.

0 comments voice your opinion now!
zendframework autoloader backport github


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Zend Framework is a BOSSie Award Winner

Zend Developer Zone: Zend_Gdata for Picasa, YouTube, Google Documents List

Jim Wynia's Blog: Tracking Accomplishments with PHP, Google Calendar and Zend Framework

Zend Developer Zone: Announcing The First Zend Framework Bug-Hunt of 2011

Zend Developer Zone: Lifting the Skirt on Zend Framework 1.5: Zend_Auth and the OpenId Adapter


Community Events





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


list unittest framework symfony2 community introduction release api language refactor threedevsandamaybe install podcast interview testing developer series laravel code opinion

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