There is a new plugin on the block: Templating Check it out. PS: This is a direct successor of www.dereuromark.de/2022/12/19/font-icons-in-cakephp-apps. So all of the functionality around icons is directly ported, as well. Please read that article for some history on…
Year: 2023
Improved Paginator for CakePHP
The default paginator throws a 404 on "OutOfBounds", so when you happen to access the pagination with a too high page number. What can be the issue with this? So first: This is not very user friendly. Often times this…
Database migration tips for CakePHP
CakePHP uses Phinx by default. The following tips will help with larger and legacy projects to maybe clean things up. Migration file count Problems If your migrations piled up over the years, and you have like hundreds of migrations, maybe…
Working with decimals in PHP apps
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…