Pages

Categories

Making Sense of the Observer with Me

Until today I’ve struggled to see how the observer might be useful and why it can’t be done using something similar to the plugin system I blogged about last week.
After a little discussion over at DevNetwork Forums I’ve come to see that the observer does have it’s place in PHP, although it’s rare you’ll ever […]

June 7th, 2006 | PHP | No Comments »

Writing a Pluggable System in PHP

Not so long back I decided to write a Mailing Library for PHP4 and 5, similar to phpMailer, except that mine would interface a little differently and would be fully pluggable (therefore appealingly flexible).
So then it struck me, just how do would you go about handling plugins in such a manner that both the main […]

May 21st, 2006 | PHP | 5 Comments »

Getting to grips with PHP and OOP/Classes [Part 1]

PHP4 and above, although loosely typed does offer excellent support for Object Oriented Programming. PHP5 offers far more than PHP4 when it comes to OOP but if you’re completely new to OOP as a general concept it would be wise to get to grips with the basic concepts in PHP4 before reading up on […]

April 5th, 2006 | PHP | No Comments »

The basics of singletons in PHP4 & 5

There are some fairly significant differences in working with singletons between version 4 and 5 of PHP. We cover the basics of this here.

April 4th, 2006 | PHP | 1 Comment »