Tags
Category Archives: Uncategorized
CakePHP Losing or Missing Session?
I have my fair share of problems with session in Cake so I thought I can share the two important configurations in app/config/core.php which affects how Cake handles the session.
Session.checkAgent
Setting this to TRUE means Cake will store the user agent header of a request when a new session is created. On subsequent request, the user [...]
Soft Deletable Behavior and the Model::exists() gotcha
If you ever used the Soft Deletable Behavior, you will realise that Model::del() always returns a FALSE. This is expected after knowing that the behavior intercepts the delete request by saving the deleted flag and date then returning FALSE so the actual delete don’t happen.
So since I can’t rely on the returned value of Model::del(), [...]
SingNet External Proxy IP Woes
Always get kicked out of your phpBB administration panel? Or the Apple Developer Connection? Assumed that SingNet can’t care less bout that 1/10000 website that don’t work for you and thus thought there was nothing you can do? OK, that was me until I asked with just 1% hope that there actually is a solution. [...]
From wordpress on iphone
I am happy with my iPhone purchase! Woot!
Multiple Validation Sets in CakePHP
Jonathon Snook wrote about multiple validation sets in CakePHP and it reminded me how often we require rather different sets of validation rules for a single model. I have always enjoyed learning how others approached similar problems so I think I shall share mine too.
A very relevant example is the User model where we usually [...]
Extracting PO file with CakePHP I18n Shell
I have always been religiously wrapping __() and __n() around my texts knowing that it needs to be localized some day. Then it got to me that I never knew how to actually localize it! Out of curiosity, I went ahead to extract the PO file using the I18n shell.
What it does is basically [...]
Welcome to Derilicious
I have always wanted a blog to note down things I have learn along the way and hope that in the process, it will help someone else too. So after several failed attempts to start blogging, I am happy that I have finally broken out of procrastination.
Why Derilicious? I can’t think of anything better and [...]


!["Empire State of Mind" Jay-Z | Alicia Keys [OFFICIAL VIDEO]](http://i.ytimg.com/vi/0UjsXo9l6I8/default.jpg)




Planet CakePHP With Multiple Feeds