Currently Browsing: CakePHP
Mar 14, 2009
Model::save blacklist – in reply to teknoid
It’s not that i did not know what else to post, but here’s a more general approach for those who like using blackList over whiteList when tighten up save() calls. This post is ment as follow up to the one teknoid posted. Instead of doing the array_diff stuff in your controller, you could do it in the model (respectively, all models). So here it goes. I made the $blackList part optional, but... read more
Mar 13, 2009
CakePHP CookBook: The mobile edition
Some time ago in a galaxy far far .. i was thinking about how i could read the Cookbook on my iPhone more easily. Creating a static copy in some custom format? Yes, but the options are really limited and mostly painful: PDF – Most, if not all, readers suck. (And there’s no pdf version either) HTML – Yeah right.. why not just use super-tiny Safari then. DOC – Possible.. if there... read more

