Elegant immutable object pattern in PHP (dev.to)
As many of you know, immutability is an extremely useful concept that makes code more predictable and...
As many of you know, immutability is an extremely useful concept that makes code more predictable and...
We observed an almost 40% reduction of CPU usage in our PHP servers by upgrading from Ubuntu 20.04 LTS to Ubuntu 22.04 LTS.
Preliminary Findings...
PHP 8.3 is a major update of the PHP language. It contains many new features, such as explicit typing of class constants, deep-cloning of readonly properties and additions to the randomness functionality. As always it also includes performance improvements, bug fixes, and general cleanup.
...and how to avoid it. Type coverage is a way to gradually add type declarations to your PHP project—step by step, one by one. It's a PHPStan package that helps you maintain a specific minimal level from 0 % to 100 %. Once we reach high coverage of 80-90 %, we feel safer. But our code can actually be in worse, even dangerous,...
Germany's Sovereign Tech Fund has been making significant, much-needed investments into various open-source upstream projects from the GNOME desktop to Rust-written Coreutils and more
If you're crafting an e-commerce experience where storytelling and customer connection come first, Drupal with Drupal Commerce is your solution. Unlike catalogue-driven platforms, Drupal lets you seamlessly merge your brand story with the shopper's journey, building loyalty and driving sales. Here's a selection of essential...
There is an ongoing debate among developers regarding the use of patches versus pull requests for contributions. Since its migration to GitLab in 2018, Drupal has undergone significant changes. As of July 2024, the removal of Drupal CI and automated patch testing could potentially change the way contributions are made.
Did you know you can perform a full-text search in a database using PhpStorm (any IntelliJ based IDE)
In the first post, we looked at the long-term effects of our decisions. Turning a legacy project into a fresh one is a matter of the "just do it" approach. But there are 3 things we should take with care even if our project seems outside the legacy project category. First of those are arrays.
Backdrop CMS is the Drupal fork. Its goal is to provide a more affordable platform that’s easier to use, but without compromising on flexibility. On January 15th, it will have been 9 years since Backdrop’s initial release.
When creating applications with PHP, Exceptions play a vital role in handling errors and irregularities that arise during the application lifecycle. We are going to see how to use Custom Exceptions to improve our applications.
Writing your own custom Drush command is a lot easier than you might think. Let’s get started.
Searching for a smoother way to organize page layouts than floats and CSS positioning? Say hello to CSS Grid Layout! Explore the versatility of this module and master the art of integrating it with your Drupal site.
I recently produced the first release of the Webform Protected Downloads module that is compatible with Drupal 10. It provides the ability for sites to have 'gated' content which users can download once they have filled out a form for their details. This can convert engaged visitors into leads, set up licenses for customers, or...
Upgraded my blog from Drupal 7 to Drupal 10 in less than 24 hours with the open source Acquia Migrate Accelerate
This week, Symfony celebrated the SymfonyCon Brussels 2023 conference with great success. During the hackday, the community contributed many bug fixes and new features for the upcoming Symfony 7.1 ver...
Distributing PHP applications is quite complicated. For instance, to run a Symfony project in production, a web server, the PHP engine, and the appropriate PHP extensions need to be installed. Their versions and configurations must be compatible with the app. Because PHP is an interpreted language, the application source code...
Have you ever wondered how a language sets about adding new features, or deciding what changes from...
Hey! Chris Coyier here. This is a blog-itized version of a presentation I created. It started life as a Keynote file which I presented in person at RenderATL in June of 2023. I put a lot of work into it! I’m so grateful to everyone who came and saw it. But you can’t beat the […]
Symfony 6.3 introduces some new components to ease the creation and handling of webhooks in your applications.
Kevin Bond (aka Zenstruck) is joining forces with us as a head tutorial writer. This means tutorials created by Kevin in the SymfonyCasts style you know and love
Drupal project lead Dries Buytaert just unveiled the Drupal Starshot Initiative and I couldn't be more excited! Starshot is all about putting users first. Enhancing Drupal core with additional components tailored to everyday users of the interface. Technically, it builds on Drupal core's robust foundation, utilizing Automatic...
Contribution Day has arrived!!