When a closure is not necessary

For a while, after being exposed to a lot of javascript during a project for a social gaming company it's been confused in my mind that closures in programming are useful for retaining data statically. This now makes sense because javascript isn't like other languages and it lacks the static keyword so there is no alternative.

Read more...

Bind GET params to a Form in Zend Framework

The equivalent of this for POST data is widely documented but for GET parameters you use the $request->getQuery method as below:

Read more...

Another week another PHP technical test

Due to working on a test for a new potential role, I’ve been made to take a slightly deeper look into using database calls with mysqli (the MySQL Improved extension).

Read more...