While messing with a new website that I am working on, I find a slightly annoying issue with CakePHP that doesn't seem to be documented anywhere. I was trying to store a thumb up/down record in a tinyint(1) field. A thumb up would have a value of 1 and a thumb down would have a value of -1. CakePHP was kindly(sarcism) converting my -1 to a 1 every time.

It appears that CakePHP assumes that all tinyint(1) fields are actually boolean fields. Therefore, if anything other than false is set in the field, it will store a 1 as the value.

So, if you notice that [Read More]
Views  18 Comments  0
Filed under: CakePHP, Web Development
12:07am June 24, 2008
AT&T's Pogo Browser
AT&T recently started their closed, limited beta of their new web browsing application, code named Pogo. This browser is built upon the same source code found in Firefox 2 which was recently laid to rest with the launch of Firefox 3 last week. After receiving an invitation to download Pogo, I started installing it. Oddly enough, even though it is based on the Mozilla source code, it didn't even ask about importing my information from Firefox.

The installation on my Windows Vista Home Premium x64 went off without a hitch. After watching the professionally [Read More]
Views  63 Comments  0
Filed under: Pogo
View Chris Thompson's profile on LinkedIn
Loading...