Archive for the ‘OOP’ Category

Checking if an object has been serialized in PHP

Monday, January 11th, 2010

I had a class that relied upon an object’s spl_object_hash() which the PHP documentation states …

Picking Aggregate Roots - Domain Driven Design

Saturday, October 17th, 2009

I’m steadily thinking more and more in terms of Domain Driven Design.

I had often found …

Where to start? - Beginner Level to Expert PHP Website Developer

Friday, May 15th, 2009

This is a message to my previous self (like how Rimmer went back to tell …

no PHP error thrown when private property accessed or modified by subclass

Friday, April 24th, 2009

This is another ‘Gotcha’  moment that i want to share with you.

I don’t often declare a PHP …

Can an interface class extend another interface class in PHP

Tuesday, April 14th, 2009

Yes - it can in PHP version 5.2.
(The example code below is also available …

principles of modular website architecture design

Tuesday, March 31st, 2009

This is a collection of links to articles that may be of interest to those who are …

Example usage of Zend Form Element as a Controller Action Variable

Wednesday, December 24th, 2008

See the code: zend_form_Quick_Form_of_Server_Vars.txt

The generic stdclass class in PHP (standard object)

Wednesday, September 19th, 2007

I’m new to Object Oriented Programming in PHP and keep forgetting what the name of the generic …

Programming - Why I like to Reinvent the Wheel

Tuesday, September 18th, 2007

The programming academia has been waging a war against ‘Reinventing the Wheel’ for many years. Within recent …

Zend Framework Zend_Db - When to Quote and When Not to Quote User Input

Sunday, August 5th, 2007

If you search the source code of the Zend Framework (version 1.0.0) for the string “get_magic_quotes_gpc” you …