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…
Tag: CakePHP
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…
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…
CakePHP Tips Winter 2020
Over the last months, I collected some useful tips again for CakePHP apps and development you might find useful. Data Integrity for your DB content I usually also don’t take this into account when creating new table relations, even though…
CakePHP and Heroku
I was impressed with how straight forward it is to set up CakePHP apps on Heroku (or probably any Cloud solution probably). And it is free here for basic applications, especially for trying it out. Prepare your app Your application…
DTOs in CakePHP
Data Transfer Objects in PHP have been around for some time. Martin Fowler proposed something here in his architecture book and blog posts back in 2004 even. Also, this article from 2010 describes the idea. They are also heavily used…
Tutorial: CakePHP & Tagging
This article mainly shows the power of a Rapid Development Framework like CakePHP. The full plugin documentation can be found directly in the repository. Let’s imagine we have some blog posts in our database and we need to quickly add…
CakePHP 3.6 is coming
The first betas have landed already. Make your plugins and apps 3.6-ready now. It is actually rather easy – better to be proactive now and have a small migration path than a big fallout and some surprises in a few…
Developing CakePHP 3+ Plugins, it’s fun!
It is fun – and it should be! The days of CakePHP 2 plugins and how difficult it was to actually develop plugins are over. Back in the days (OK, I still have to do it once in a while),…