Organizing classes with __autoload()

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

bg
Forum Contributor
Posts: 157
Joined: Fri Sep 12, 2003 11:01 am

Post by bg »

Just my personal opinion, but I think that anything within the __autoload function should be as light as possible. The reason for its existance in the first place is to get around the need for elaborate methods for including files at runtime. Of course, if you don't intend a lot of traffic to your site it really makes no difference.
Post Reply