Drupal

Drupal is a cmf developed by Dries Buytaert about 20 years ago. It has developed a rich culture of developers supporting the system, and it is a highly flexible system.
· Lars Nielsen

Headless Drupal with Next.js: A Practical JSON:API Integration Guide

Decoupled Drupal separates the content management backend from the presentation layer. Drupal handles content modelling, editorial workflows, and permissions; Next.js handles rendering, routing, and performance. The bridge between them is Drupal's JSON:API module, which ships in core and exposes every entity type as a standardised REST API with zero configuration.

Read article Headless Drupal with Next.js: A Practical JSON:API Integration Guide
· Lars Nielsen

Drupal Custom Theme from Scratch with Twig in Drupal 11

Drupal 11's theming system uses Twig 3, a modern templating engine that keeps logic out of templates and makes overriding core HTML straightforward. The recommended starting point is the Starterkit — a generator that scaffolds a fully functional sub-theme from Drupal core's stable base, so you own all the HTML from day one without inheriting any styles you did not choose.

Read article Drupal Custom Theme from Scratch with Twig in Drupal 11
· Lars Nielsen

Drupal Security Hardening Checklist for Production Sites

Drupal has an excellent security track record at the core level, but production breaches consistently come from misconfigurations, outdated contributed modules, overly permissive file system settings, and missing server-level controls. This checklist covers every layer: Drupal application, file system, database, Nginx/PHP-FPM, and monitoring.

Read article Drupal Security Hardening Checklist for Production Sites
· Lars Nielsen

PHP Attributes in Drupal 11: Replacing Annotations in Plugins and Hooks

For years Drupal used docblock annotations — special comments parsed at runtime by the Doctrine Annotations library — to declare plugins, entity types, and field formatters. PHP 8.0 introduced native attributes as a first-class language feature, and Drupal 11 now supports them everywhere annotations were used.

Read article PHP Attributes in Drupal 11: Replacing Annotations in Plugins and Hooks
Subscribe to Drupal