A short post about some really interesting sites I found in the www and want to share: Live Benchmark phpbench.com You can see live benchmarks about some basic PHP stuff. You can also copy and paste the code to try…
What REALLY speeds up your cakephp app
There are already many (partly outdated) blog entries (e.g. 8-ways-to-speed-up-cakephp-apps) and stackoverflow questions/answers (e.g. speeding-up-cakephp) regarding this question. But from years of experience I want to outline the more important ones pretty quick. I will not talk about the little…
Qlogin – Quicklogins für CakePHP
Have you ever thought how nice it would be to send emails with an url that automatically logs you in? Especially for a messaging system this can be quite handy: One click in the notification email and you can answer…
More persistent sessions in Cake2.x
This has been an issue for me way too long. I always hated the fact that users are logged out almost every few hours. Compared to other sites on the www it was ridiculously short, no matter how long you…
New year, new cake version – 2.1
The new version 2.1 is almost fully backwards compatible. The migration guide from 2.0 to 2.1 can be found at book.cakephp.org/2.0/en/appendices/2-1-migration-guide.html New stuff for the upgrade shell I used this chance to enhance my version of the upgrade shell and…
Traits – PHP5.4
Since it is new years eve, I don’t want to start a complete new chapter. So I will write one last post this year with some more general topic. And yes – I find it so interesting that I have…
TinyAuth – The fastest and easiest authorization for CakePHP
Note: This is for CakePHP 2.x, for 3.x please see the bottom of the article. The CakePHP built in row based CRUD auth is way too powerful and way too slow and memory consuming. In 99% of all cases there…
Tools Plugin – Part 2: Contact Form
I want to show how easy it is to make a solid and universal contact form in Cake(2). The full code can be found in the github rep of the Tools plugin. Model The most important part first: We need…
Unit-Testing Tips for 2.0 and PHPUnit
Quite some time ago I wrote about Unit testing. But that was still in 1.3 and with SimpleTest. A lot has changed since then. Execution Order The documentation wasn’t all that clear about it. So I tried it with the…
Serving views as files in Cake2
Actually, its not that different in Cake1.3. But as I just played around with it in 2.0, I will stick to that version for examples. How to start Skip this, if you want to cut to the chase. In your…