News Feed
Jobs 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

PHPPro.org: SQL Intro, Reciprocal Links & Finding Links with DOM

Jacob Santos' Blog: PHP Blackjack

Gergely Hodicska's Blog: What's new in PHP 5.3 - part 1: namespaces

Gonzalo Ayuso: Combining Zend Framework2 and Symfony2 components with Composer to build PHP projects

PHPBuilder.com: Class Inheritance with PHP


Community Events











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


unittest opinion hhvm overview application performance language release security introduction code component framework hack podcast package install facebook symfony2 composer

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