Portfolio

  • Hammerhead Shark
  • Passive Giant
  • Trapped
  • Scissors beats paper
  • Spectator
  • Giraffe
  • CakePHP Test suite icons
  • Elephant shirt
  • CakePHP test suite icons part 2
  • Cancer - Crabzilla
  • Super consumer - black card
  • nineteen eighty four
  • Change
  • the havenots

more images..

Recent Writing

New errors in PHP 5.4

I’ve been running the PHP5.4 RC builds for the last few months, and there are some interesting changes in the upcoming PHP release. On top of all the great new features coming in PHP5.4. After updating to PHP5.4-RC4, a few things that used to not trigger errors and silently do the wrong thing, now trigger notices or warnings.

Using bcrypt for passwords in CakePHP

CakePHP uses salted sha1 hashes for passwords by default, and has for a while. There has been some talk on the mailing list lately of switching the default hashing to something more secure, such as bcrypt. I think this is a great idea, and will find its way into CakePHP in a future release. Providing a reasonanle upgrade experience is the biggest problem to solve, if the default hashing strategy was to change.

Creating folded ribbons edges with CSS

While working on tweaking a notification box design, I wanted to include the element’s heading in a folded ribbon element. I also wanted to avoid using any images and just use CSS. Mostly to try my hand at using generated content and some CSS that I don’t normally get to use.

more posts..