Archive for the ‘Articles’ tag
Autoloading in PHP
Have you ever been faced with autoloading in PHP? Are you a newbie? Do you think you understand the nature of autoloading? This article is for you. This article will take approximately 25-35 min.
This article:
- Asks you: what is an autoloading? Do you really understand how __autoload() function works?
- Examines several autoloading approches
- Suggests a script that scans folders for classes and interfaces and generates array of associations between classes and their locations.
Autoloading/Dependency generator: download (4.6 KB) 07 05 2009 →, description ↓
Examples for this article: download (4.0 KB) →, description ↓