My name is Aidan Lister. I am a professional web developer working primarily with PHP. I am an author of the PHP documentation, and a PEAR developer.

This personal blog discusses what's hot in web development, programming concepts and solutions, and my code repository.

Read more at my about page »

Why I’ll never eBay again

Posted on June 16th, 2009 in Housekeeping | 7 Comments »

I listed my old Macbook Pro 15″ laptop for sale on eBay today. I paid my fees. I reviewed my add. I was happy for about 6 minutes, until I received a barrage of emails notifying me my account was suspended for “abuse” of their terms and conditions.

My account was locked down, leaving me unable to even log in to respond to the situation! All my bids on other items were revoked. Is this what online selling has become? If so, no thanks.

Read the rest of this post »

Implementing row level access control in CakePHP

Posted on May 2nd, 2009 in Programming | 4 Comments »

The ACL Component in CakePHP is very powerful and can be used to solve a wide variety of access control problems. In this tutorial, we provide a step-by-step guide for implementing row level access control to a model.

Read the rest of this post »

Creating a community in five minutes with CakePHP

Posted on May 1st, 2009 in Programming | 54 Comments »

CakePHP’s automatic hashing makes things a lot harder than they need to be, and simple tasks (e.g. a registration page) become annoyingly difficult.

Here, we build a complete community based website in five minutes using Cake best practices, with the following features:

  • Account registration
  • Login and logout
  • Account management page
  • Password retrieval
Read the rest of this post »

Repository content moved to the blog

Posted on April 8th, 2009 in Housekeeping | No Comments »

I have just finished moving all of my repository content to separate posts in WordPress. I also decided to get a little tricky and manually imported all of the old comments into WordPress too.

Read the rest of this post »