THIS CONTENT IS OUT OF DATE! IF YOU’RE USING CAKE 2, YOU SHOULDN’T READ THIS. If you use CakePHP’s caching system but don’t like having to wrap you calls to Model::find() in if statements (“if cache result found… else…”) then this little quick tip is for you. Basically, we’re just going to put a slightly modified version of Model::find() in [...]
THIS CONTENT IS OUT OF DATE! IF YOU’RE USING CAKE 2, YOU SHOULDN’T READ THIS. Nothing like writing a tutorial on your code to realize how you could improve it! Just minutes after writing a tutorial on persisting pagination limits in CakePHP – a system I developed weeks ago, I wondered to myself why I just didn’t make it a [...]
THIS CONTENT IS OUT OF DATE! IF YOU’RE USING CAKE 2, YOU SHOULDN’T READ THIS. If you find yourself paginating a lot of results, you may want to give your users the ability to change the number of results per page they see. Easy enough, I know, but the user’s preference should also persist through the session no matter what [...]
You heard me – it sucks! I’m especially looking at you, Flash developers. To be fair, yours isn’t the only one that sucks – all splash pages (enter gross generalization here) suck. The internet is about content, and splash pages, especially those containing the ubiquitous and oh-so-irrelevant ‘Flash introduction’. The more clicking a user has to do to get to [...]
If I had to choose my top pet peeve relating to the world of website design, it would definitely be that one, annoying, lazy, useless phrase to indicate a link: click here! Click where? Why here? Why not there? Where else am I going to click? What am I clicking on? Where am I going? Those are just a few [...]
