Nov 20Laminas Framework Series: Getting Started with MezzioIn the third post of the Laminas Framework Series we will address the getting started with Mezzio. The Laminas Framework, though comparatively recent as an independent entity, originates as a complete fork and successor of the Zend Framework, embedding it firmly in the realm of PHP-based enterprise software development. …PHP7 min readPHP7 min read
Nov 2What’s new in PHP 8.3TL;DR: PHP 8.3 will be released on November 23, 2023. It will add typed class constants, a new helper function json_validate to check json payloads and some minor improvements for Randomizer class, reading ini configuration and more. The PHP team will release the new minor version of PHP to the…PHP3 min readPHP3 min read
Oct 23Laravel Experience: The Unfinalize PackageIt is time to talk about Laravel. Really. I worked with Laravel for more than a year in my last project in a very large fashion based online shop. …Laravel4 min readLaravel4 min read
Sep 26Laminas Framework Series: Middleware in Mezzio and MVCThe second post of “Laminas Framework Series” compares Mezzio and the framework based on “Model-View-Controller” (short: MVC). The Laminas Framework is for its own is relatively new, but since it is an entire fork and a continuation of the Zend Framework, it has very deep roots in the enterprise software…Laminas4 min readLaminas4 min read
Sep 15Laminas Framework Series: Background and BasicsThe following blog series addresses the Mezzio (formerly known as Expressive) microframework belonging to the Laminas Framework (formerly known as the Zend Framework) and its core concept. …Laminas4 min readLaminas4 min read
Aug 31PHP 8: Making the Choice Between “switch” and “match”In the constantly changing landscape of PHP, version 8 brought an innovative feature: the match expression. Many see it as a streamlined and more effective counterpart to the traditional switch. Let’s explore their distinctions. The traditional switch goes something like this: <?php $statusCode = 200; $message = ""; switch ($statusCode) {…PHP2 min readPHP2 min read
Aug 19Embracing Immutability: The Theory Behind Readonly ClassesAs the code base of a project grows larger and larger, maintainability, predictability and “clean code” is getting more and more a key strategy for successful projects. …PHP3 min readPHP3 min read
Jul 20Towards Powerful PHP Applications: WeakMaps and Their Practical UsagePHP introduces WeakMap datastructure with version 8.0. This new data structures is capable of containing objects while simultaneously enabling them to be cleared via garbage collection once not needed anymore. WeakMap is a evolution of weak references added with PHP 7.4 and enables the development of collections of references that…PHP3 min readPHP3 min read
Jun 9Understanding PHP’s Shift: Migrating from Resources to ObjectsAs said many times before, PHP is evolving from a script kiddy language to a modern and powerful object oriented one. …PHP3 min readPHP3 min read
May 22Metadata Attributes and Their Impact on Modern Development with PHPPHP introduced attributes with version 8.0. Prior PHP8, it was possible to use annotations to use the benefits of attributes. Attributes are a type of metadata that can be added to classes, methods, properties, and even function parameters. …PHP4 min readPHP4 min read