Posted by : Chris London in (Programming, Tutorial)
Organizing PHP Includes with Autoload
Tagged Under : autoload, classes, oop, php, Programming
Since PHP5 was released, PHP programmers have been blessed with a decent support of object-oriented programming. With this ability many programmers have used classes in many if not all of their projects. A very common practice for OO programmers is to place each class in an includes folder. There have been many times when I have seen a config file full of includes and/or requires. They will include every class in their includes folder whether or not they use it in a particular script. This causes many unnecessary includes.
