On Jan 31, 2008 2:06 PM, Darby Felton <[EMAIL PROTECTED]> wrote:
> (...)
> Finally, I would recommend that Zend_Loader be eschewed, in favor of
> using require_once, whenever possible. If there are any framework
> components using Zend_Loader, where require_once would work nicely
> instead, please let us know about it.

Just to add two cents here...

During development we are using Zend_Loader in __autoload() (cause of
extended developer lazyness). But before we deploy we try to clean
that up (in our own code) and instead use require/include calls
because technically require_once is an extra performance hit because
it evaluates if it has been loaded or not.

However, if you are in the know about classes you utilize you can
instead drop the once. You just have to take care of the "_once" part
yourself then.

Till

Reply via email to