Blog |

drapeko

@author drapeko

Archive for the ‘script’ tag

Autoloading in PHP

with 18 comments

computer_mainHave 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:

  1. Asks you: what is an autoloading? Do you really understand how __autoload() function works?
  2. Examines several autoloading approches
  3. 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 ↓

Read the rest of this entry »

  • Share/Save/Bookmark

Written by rdrapeko

March 28th, 2009 at 6:29 am

Promotions (coming soon)