Frameworks, PHP

Zend Framework: Autoloading for better Performance

Many discussions have come up in the recent past about how ZF should increase the libraries base throughput. One of the suggestions that comes up is whether or not requiring the autoloader, and consequently removing calls to require_once, is a good thing.

The following posts explore these possibilities:

3 thoughts on “Zend Framework: Autoloading for better Performance

  1. In my codes I use something like this:
    if (class_exists(‘NameSpace_SomeClass’)){
    require ‘NameSpace/SomeClass.php’;
    My observations are that this is better (as performance) than require_once.

  2. I suppose it should be something like:
    if (!class_exists(‘NameSpace_SomeClass’, false)){
    require ‘NameSpace/SomeClass.php’;

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s