News Feed
Sections




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

PHPRiot.com:
Zend Framework 101 Zend_Loader
March 12, 2009 @ 08:44:13

PHPRiot has started up a new series looking to introduce you to the Zend Framework one piece at a time. In this first article n the series Quentin Zervaas looks at one of the first components any Zend Framework-based application hits - Zend_Loader.

In this article I will introduce you to Zend_Loader, a Zend Framework class used to automatically load other classes. Typically you would use include_once() or require_once() when you want to load a class but using Zend_Loader you don't have to.

He talks some about how it works, how to enable an disable it and how you can replace it with your own custom autoloader if you want. He gives an example of doing this, overriding the loader with a call to registerAutoload to register his autoloader class.

1 comment voice your opinion now!
zendframework autoloader zendloader component tutorial


blog comments powered by Disqus

Similar Posts

Brian Swan's Blog: Running WordPress on SQL Server

Adam Jensen's Blog: Cron tasks in Zend Framework apps

PHPMaster.com: Introducing Superglobals

SitePoint PHP Blog: Getting Started with Assetic

Gonzalo Ayuso's Blog: Moving singleton and factory patterns to Abstract with php 5.3


Community Events





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


framework language voicesoftheelephpant security laravel symfony release podcast package interview introduction library update series community composer opinion tool version install

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