News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
TotalPHP:
Using an autoload function to make your life easier
October 02, 2008 @ 08:46:59

On the TotalPHP blog there's a recent post introducing you to a feature in PHP5 that can make life much easier - autoload.

In PHP 5 you can make your life a lot easier by writing an autoload function. This function will automatically load your classes, so you do not need to repeatedly include classes on every page.

Included are examples of it in action - both a simple definition and as it might be used in an application to conditionally load a class from multiple locations.

0 comments voice your opinion now!
autoload function php5 load class



Similar Posts

PHP Thinktank Blog: Dependency injection in PHP5

PHP Security Blog: Month of PHP Bugs and PHP 5.2.1

Geeks Not Nerds Blog: Rolling your own Blog Backend from Scratch Part 1

DevShed: Manipulating String Literals with Interpreter Classes in PHP 5

Larry Garfield's Blog: Benchmarking magic


Community Events









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


release conference zend sqlserver windows developer framework job opinion drupal podcast feature wordpress microsoft codeigniter zendframework facebook symfony performance extension

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