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…
Tag: CakePHP2
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…
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…
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…
CakePHP Tips
All new CakePHP tips collected over the last few weeks. Dispatcher execution order Tested on Cake2.3RC: APP/webroot/index.php CORE/bootstrap.php APP/Config/core.php APP/Config/bootstrap.php dispatchers defined in CORE bootstrap APP/Config/routes.php APP/Config/database.php controller and all the rest It is important to know that the dispatchers…
CakePHP and SEO
I do have to admit that in the past I never really paid too much attention on SEO (Search Engine Optimization) or how search engines treat my sites in general. This can be quite a pitfall and cost you quite…
CakePHP and HTTP/1.1
Most probably didn’t even know that Cake internally switched from HTTP/1.0 (cake1.x) to HTTP/1.1 (cake2.x). While most changes regarding the new specification are great, they can also break existing functionality, of course. New features With the new protocol there are…
User-Switch for CakePHP apps
What I call a user-switch is nothing more than a simple select box to chose a user from with which you want to be logged in as. Why This can be a very useful tool and time saver for multiple…