DB Basics Let’s talk about some of the basics first. float vs decimal In general, floating-point values are usually stored as float in the database. In earlier versions of databases they also often had precision/scale (e.g. float(5,2) for values like…
CakePHP 5 upgrade guide
CakePHP 5 has just been released as 5.0.0. As it stabilizes, here already some tips and helpful tools to quickly update your app or plugin code. This aims to be a living doc on the process, so I will update…
Creating a logo with ChatGPT
Yes, another one talking about it 🙂 This is more of a fun anecdote actually, though. Preface Many of us used ChatGPT already for weeks to get creative answers for different questions or tasks in text form. Easy. Some also…
Font icons in CakePHP apps
Everyone uses font icons these days. The most common, most powerful library seems to be FontAwesome. But also BootstrapIcons is used quite a bit. Not so common yet are Material and Feather as icon libraries. Some of those also use…
Keeping up with framework upgrades
If you use open-source software, you might wonder, why all those changes and why you should migrate up to the next major versions. Some don’t even (properly) migrate the minor version of the framework dependency to the latest available release…
(Cake)PHP queuing: Real-life examples
With the new major v6 of Queue plugin it is time to update my 8-year-old blog post about the Queue system. A lot has happened since Cake1/2. With CakePHP4 and modern PHP architecture, we want to look into the queuing…
Nginx setup for your (CakePHP) apps
Quite some time ago, I linked already to the cakephp-config-for-nginx/ blog post. And my post about Apache setup is also now almost 10 years old. It is time to update also my blog about the latest configuration here, and in…
Upgrade to PHP 7.4 now
This post is for all that are using CakePHP and anything below PHP 7.4. In general The main reason here is that the last version of the PHP 7.x series is the most strict one and prepares you well for…
The ultimate upgrade guide to Cake 4
Here we go, time to upgrade again. And to document it. CakePHP 4.1 is already released, and also at work now we consider the upgrade of a larger internal application. This is basically the successor of the old upgrade notes…
Improved CakePHP ErrorHandler
Some might already know the improved error handler parts of the Tools plugin from CakePHP 2 or 3. Here I rewrite and publish those now for the 2020 CakePHP 4 scope. Motivation The main goal of the error.log is to…