At the beginning of 2.x I ported the Queue plugin from 1.x to 2.0 and started to integrate it into a few apps of mine. Since then it was running OK, but neither with fixed tests, nor with any real…
Year: 2013
ResetBehavior and HazardableBehavior
ResetBehavior Reset is a new behavior I recently had to write to update some geocoded entries as well as records with processed titles/slugs – via beforeSave() – that had to be re-saved with a corrected processing method. Basically, it is…
RSS feeds in CakePHP
Recently I noticed that Thunderbird doesn’t import and update RSS feeds anymore that are (partially) invalid. Well, mine always were I guess. Back in the days (4 years ago) I wasn’t aware that the author tag was only for email…
Moving a CakePHP app
This weekend I had to move some small to medium sized CakePHPs from one server to another. Basically, I had to switch hosting for them (web space and database). I haven’t had the time to write a lot lately. But…
CakePHP Tips – Summer 2013
While CakePHP 2.4 is now just around the corner (already beta), a few tips gathered the last few days. Don’t mix controller and component pagination Currently, if you mix controller pagination setup and call the Pagination component then, it can…
CakeFest 2013
You can see that I have been quite busy by the huge amount of blog posts the last couple of weeks 🙂 Well, except for my 2 weeks of holidays right now. Currently I am in Dubai. So, before hitting…
Passed, named or query string params?
This is a question often asked. It’s also a question I had to find my own answers to – and to redefine those answers over time. So here are my five cents regarding this topic: Persistence: Passed params You use…
Interesting (CakePHP/PHP) links – 2013
PHP5.5 Try/Catch/Finally is a nice article about upcoming 5.5 features – and how to use them wisely. Enhance your select form fields Chosen is a beautiful addon for your select dropdowns, especially if you use them to filter to search…
Continuous integration with Travis and CakePHP
I must admit that I only recently started to take testing more seriously. In the past, I just created tests if too much time was available. But the larger projects get, the more just minor changes will most likely break…
CakePHP and Tree structures
Some of you might alread have worked with the TreeBehavior to generate nested categories or something like that. In most cases we just want to have two or three levels and some hierarchic structure using parent_id. But trees can do…