News Feed
Sections




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

Robert Basic's Blog:
Using the new autoloaders from Zend Framework 1.12
June 22, 2012 @ 08:17:05

Robert Basic has a new post today about the autoloaders in Zend Framework 1.12 and how to use them to create a classmap for use in your application.

The latest, and last, release of the Zend Framework 1.x series is just around the corner as ZF 1.12.0RC1 was announced this week. As I still have projects running ZF1 I thought about giving the most interesting new feature (for me) a spin - the new autoloaders which are backported from ZF2. I decided using the classmap autoloader as the main autoloader, and the good ol' standard autoloader as the fallback autoloader.

He includes the changes to the Front Controller (index.php) to have it know about these new autoloaders and has a command that will go through your code any pull out any require_once statements out and let the autoloader handle it instead.

0 comments voice your opinion now!
zendframework autoloader classmap tutorial requireonce


blog comments powered by Disqus

Similar Posts

Cory Borrow's Blog: Creating thumbs from textfiles with PHP and GD

ZendCasts.com: Painless HTML Emails with Zend_Mail

ProDevTips: Writing a CMS/Community with Smarty and the Zend Framework: Part 8

Zend Developer Zone: Zend Framework application's PHPUnit suite 3x faster

Bnnx.com: Installing the Zend Optimizer


Community Events

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


yii2 php7 series part2 symfony framework podcast language opinion introduction example laravel composer api project list programming community interview application

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