Font icons in CakePHP apps

2

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…

Improved CakePHP ErrorHandler

0

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…

Flash Messages in CakePHP 4

1

This replaces the old and outdated v2+ article about this topic. Looking back at v3 As the old article was still from CakePHP 2 days, the CakePHP 3 version was already its own plugin. It was moved to a standalone…

CakePHP Tips Winter 2020

1

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

1

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

2

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

0

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

1

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…