Archive for February, 2009

PHP Options Object

Friday, February 13th, 2009

The wait is over for a way to add the functionality of a Javascript options object to PHP5.
I will forwarn that this post contains mostly code since I explained the benifits of this methodoly in my previous post on javascript option objects.

(more…)

JavaScript Options Object

Tuesday, February 10th, 2009

I don’t know how many times in the past I have found myself using a class and I want to change only one of the optional parameters but it just so happens to be the last argument.  In order to avoid changing the default value I have to look at the objects source code.  There are two ways to avoid this issue.

(more…)