Keeping Track of Objects when Using Destructors in PHP 5

Wednesday, January 30th, 2008

Among the improvements that were introduced into the object model of PHP 5 class destructors are quite possibly one of the easiest to learn and implement. As you may have heard a destructor is a special kind of method that is called automatically by the PHP interpreter ...

Displaying Meaningful Error Messages when Auto Loading Classes in PHP 5

Wednesday, December 26th, 2007

If you re a PHP developer who wants to learn how to load automatically into client code all of the source classes required by your object-oriented applications keep reading. In this series of articles you ll learn how to implement the magic __autoload function ...

Improving Exception Throwing when Auto Loading Classes in PHP 5

Tuesday, December 18th, 2007

This is the third article in the series on how to auto load classes in PHP 5. This article will demonstrate how to trigger exceptions in a way that can be caught by the corresponding catch block. Please keep reading to find out more.... Automate Software ...

Throwing Basic Exceptions When Auto Loading Classes in PHP 5

Tuesday, December 11th, 2007

Welcome to the second part of the series that began with Auto loading classes in PHP 5. Comprised of four approachable tutorials this series walks you through the key concepts you need to understand how to automatically include classes with PHP 5 without having to use ...