PHP

Avoid Yoda conditions

5

After blogging about the semantic importance of void as pseudo type I feel like I should also point out the nonsense of Yoda conditions. Those are still used quite a bit in the coding world, mainly in and around WordPress…

PHP

Return null vs return void

0

The other day I had a discussion about that, and why important open source frameworks like CakePHP use void in @return doc tags when void and null are code-wise totally identical. So here my reasoning why it is a good…

CakePHP Tips 2015

0

Most tips are for 2.x and 3.x as they have been applied to both versions. Complex radio inputs A while back I posted a tip about deep array options for select input form fields. With my recent path for 2.6…

CakePHP Meetups

0

About Meetups are a great opportunity to get in touch with other companies or people that use CakePHP. It is a good place to share experiences and find people even that might have similar interests or who could even join…

CakePHP 3.0 Migration Notes

2

Trying to migrate my CakeFest app for this year’s event, I made some notes regarding the upgrade process from 2.x to 3.x. I completed them during the upgrade of my Sandbox app to 3.0. And adjusted them after RC2 and…