Quite a few years ago I wrote small wiki note about templated emails and inline images/CSS. I never really got around to blog about it, let alone covering the 3.x version of it. There was a ticket opened recently regarding…
Month: October 2016
CakePHP and connecting to GitHub API
I had to write a small tool to automate releasing certain GitHub repositories, and for that to authenticate I had to connect to GitHub API. The integration wasn’t super-easy as there was no documentation yet on how this could be…
CakePHP Tips Fall 2016
Always use proper version check method Be aware of version checks that are using the inferior and even wrong </> comparison. This can lead to wrong conditions with higher minor versions. I had this in my code from the early…
Use 3.x Migrations for your 2.x CakePHP app
In this post I reveal one of my tricks on how to leverage 3.x power in a legacy 2.x project. You might have already read on how to use some of the splits, like the ORM, in 2.x projects. Today…