A Week of Work

A Week of Work

I was looking for the topics of this weeks blog but it seems like the PHP community is still in the summer hole. Sure, PHP 8.4 is still in the making and is awaited for November this year, but it is feature freezed and the already introduced features get a stable implementation now. So nothing … read more …

AI will not replace Software Engineers

Abstract Artificial Intelligence (AI) thumbnail

Today, I would like to address a topic that affects us all in some way: is AI going to replace software engineers? This is not just a fear I read and hear from different actors of the tech industry. For instance, in March 2024, NVIDIA CEO Jen Sen Huang said kids should stop learning programming … read more …

PHP 8.4: Release Date and Features, August 2024

PHP 8.3 to PHP 8.4 update thumbnail

In my previous post for the upcoming PHP 8.4 release, I addressed the expecting changes. Just a few days after the post, PHP announced Property Hooks – a feature that gives me mixed feelings. Today – a few months before the final release – I want to give a second overview to PHP 8.4. The … read more …

Laminas Framework Series: Middleware Deep Dive

Laminas Framework Middleware

The 5th post in the Laminas Framework series is about having a closer look into the middleware concept in Mezzio, a fast, flexible and modern web framework for Laminas. In Mezzio, each request has an associated request handler which can get wrapped by middlewares. The idea of middleware is therefore a key concept in the … read more …

Enum Best Practices in PHP 8.3

Enums in PHP

Enumerations (short: enums) were added in version 8.1 in 2021. In the journey of becoming a modern and object oriented programming language, enums in PHP were a cornerstone of writing cleaner, stricter and robust code. In this blog post, I want to address my experience so far with enums and give some advices, after having … read more …

Mail Injection in PHP: Attacks and Prevention

PHP Mail Injection: Attacks and Prevention

Email remains the cornerstone of digital communication, and it is unlikely to be replaced anytime soon. Despite the emergence of instant messaging, social media, and mobile chat apps, these technologies have complemented rather than replaced the traditional email. However, email is not without its vulnerabilities, particularly to mail injection attacks. Mail injection is a significant … read more …

Property Hooks RFC for PHP 8.4

Property Hooks Cloud

A couple of days ago, I wrote about PHP 8.4 and what to expect. Well, I should have wait a bit longer to include big news: the Property Hooks RFC passed the vote and will likely get added to PHP 8.4. With an overwhelming 34 to 1 “yes” – which is clearly above the required … read more …

PHP 8.4: Release Date and Features, April 2024

PHP 8.4 thumbnail

PHP 8.4 is poised to introduce a range of new features and updates that are designed to improve security, enhance functionality, and provide developers with new tools to manage and process data more efficiently. PHP 8.4 is expected to be released in November 2024. According to the Preparation Tasks list, the schedule is as follows: … read more …

Laminas Framework Series: Mezzio vs. MVC

MVC Mezzio

In the fourth post of the Laminas Framework Series I want to compare middlewares using Mezzio and the MVC framework by Laminas. The Laminas Framework, despite its relatively new, it is derived as a full-fledged derivative and successor to the Zend Framework, firmly anchoring it in the context of PHP-centric enterprise software development. Mezzio, once … read more …

Static Source Code: Why You Should Avoid it

static source code

If you regularly read my blog, you will know I am a strong advocate of object oriented programming and principles like S.O.L.I.D. This means in contrary, static code in whatever form or purpose is incompatible with the way how I structure my software projects. In this post, I will give a quick summary about static … read more …