this post was submitted on 11 Apr 2024
1 points (100.0% liked)

Drupal

2 readers
1 users here now

An alternative to r/drupal for news, articles, and discussion regarding Drupal and Backdrop, one of the top open source (GPL) CMS platforms powering millions of websites and applications, built, used, and supported by a diverse community of people worldwide. More Info: http://drupal.org and https://backdropcms.org

founded 1 year ago
 

Drupal is moving ahead with PHP attributes. Introduced in PHP 8.1, this feature is changing how developers define plugins and manage their metadata. But there’s a lot more that comes with it. First and foremost, PHP attributes are a native feature of PHP 8.1. It eliminates the need for external libraries like "doctrine/annotations." This simplifies the development process by keeping code clean and concise.

you are viewing a single comment's thread
view the rest of the comments
[–] joachim@drupal.community 1 points 7 months ago (1 children)

@symfonystation Because attributes are a native PHP feature, they support comments. This is a big improvement over annotations!

[–] symfonystation@kbin.social 1 points 7 months ago

@joachim
Anything that simplifies Drupal is good.