Drupal Planet

DDEV Blog: Vibe-Code Your Own Local Dev Environment, or Use DDEV? What's the Difference

Every few weeks I see a note about a new local development tool. These days many of them are written with an AI agent in an afternoon or a few days, and the announcement often includes the words "ditching Docker". One I looked at recently has about 37,000 lines of Rust, a desktop app, a CLI, an MCP server, and native packages for four platforms, and the repository was five days old when I looked. It starts nginx or Apache, PHP-FPM, MariaDB, Redis, and Mailpit directly on your computer, with HTTPS and a .test hostname for each project.

It's impressive, and we're all amazed by what can now be done with a coding agent. It's also not a new idea. MAMP, WAMP, XAMPP, Laravel Valet, Laravel Herd, and Local have all been "run the web components natively" tools for years, and plenty of people are happy with them.

But I think a lot of people don't see the difference between running web components and a local development environment. Starting nginx, PHP, and a database is the easy part. AI has made it easier still. The hard parts are what happens with the second project, the tenth project, the second developer on the team, the client who needs Solr, the legacy site on PHP 7.2, and the operating system update next spring. Those are what DDEV has spent almost ten years on.

Of course, I'm biased after almost 10 years of helping DDEV respond to real developer team needs. Here's what I think the differences are.

Docker Networking: Every Project Gets Its Own Little Network

People often miss this, and it's super important, because it's what allows multiple projects to run at the same time with different configurations and different needs.

When you ddev start a project, DDEV creates a set of containers for it, and they talk to each other over a Docker network. Inside the project, the database is at db, the web server is at web, and everything uses its normal port. Your Drupal settings.php or Laravel .env says DB_HOST=db and DB_PORT=3306, and that is true in every DDEV project you have. Ten projects can all use db:3306 at the same time without any conflict, because each one has its own db.

When you add a service, say Solr or Elasticsearch or a Node.js API, it's another container on that network, reachable by name. http://solr:8983 from the web container just works. Nothing on your host computer has to change, and no port has to be allocated.

A native stack can't do that. There's one host and one set of ports, so the tool runs one shared MariaDB server for every project, gives each project its own database and credentials on it, and assigns each project its own port from a range (18000-18999 and 19000-19999 in the tool I looked at). Each project's configuration then has to use those particular ports. That works, but your configuration now depends on what the tool happened to assign on your machine, and it won't be the same on your colleague's machine.

Production hosting looks a lot more like the DDEV model: services find each other by hostname, and each service uses its normal port.

The Traefik Router: Hostnames, HTTPS, and Routing

Every running DDEV project is behind a single Traefik router, which usually listens on ports 80 and 443 and sends each request to the right project by hostname.

  • Every project gets https://<project>.ddev.site with no configuration at all. *.ddev.site is a public wildcard DNS entry that resolves to 127.0.0.1, so DDEV doesn't have to edit /etc/hosts for each project, and there's no sudo prompt every time you add one.
  • HTTPS is trusted, using mkcert. You run mkcert -install once.
  • additional_hostnames and additional_fqdns give one project as many names as it needs, for multisite or for a project that has to answer on a real domain name.
  • The router doesn't just serve PHP. Mailpit, add-on dashboards, and Node.js apps all get their own HTTPS URLs. See Exposing a Node.js App Over HTTP/S on a Subdomain.
  • ddev share puts a project on the internet for a client or a phone, using ngrok, cloudflared, or a provider you write yourself. The Tailscale router add-on shares projects with your own devices.

If you write your own router, you get to learn about port 443 already in use, VPN clients that take over DNS, corporate proxies, and home routers that refuse to resolve DNS to 127.0.0.1. We've learned about all of those from DDEV users over the years, and the fixes are in DDEV because of that lovely community collaboration.

Multiple Web Servers, PHP Versions, and Database Versions, Side by Side

Each DDEV project chooses its own stack in .ddev/config.yaml:

php_version: "7.4" webserver_type: apache-fpm database: type: mariadb version: "10.4"

Another project running at the same time can use PHP 8.6 with nginx-fpm and PostgreSQL 18, and a third can use webserver_type: generic to run FrankenPHP or a Node.js server. DDEV currently supports PHP 5.6 through 8.6, MariaDB 5.5 through 12.3, MySQL 5.5 through 9.7, and PostgreSQL 9 through 18, so you can bring an old project with unsupported PHP and MySQL back to life without touching your other projects. And every time a new stable version of one of these key components comes out, DDEV adds it to the list in a release.

The database version is the one native stacks have the most trouble with. With one shared MariaDB server, every project gets the same MariaDB version. If one client is on MariaDB 10.4 and another is moving to 11.8, you're out of luck. Local does better here: each site runs its own MySQL process, with a version you pick from the few that Local ships when you create the site. In DDEV each project has its own database container with its own version, and ddev snapshot saves and restores it in seconds.

When a project needs something unusual, like an extra PHP extension or a newer ImageMagick, you add it to webimage_extra_packages or put a Dockerfile in .ddev/web-build/. That change affects only that project, and it doesn't install anything on your computer.

The Add-on Ecosystem

The DDEV Add-on Registry lists 322 add-ons today. 27 of them are official add-ons maintained by the DDEV team, and the other 295 come from the community. Redis, Solr, Elasticsearch, OpenSearch, Memcached, Varnish, MongoDB, RabbitMQ, Selenium, and many more are one command away:

ddev add-on get ddev/ddev-solr ddev restart

The official add-ons have automated tests that run every day against current DDEV releases, and many community add-ons use the same test setup. Anybody can write an add-on, and we have a full add-on maintenance guide.

With a native stack, a new service arrives only when the tool's author (probably YOU) adds it, and then it has to be built and packaged for every supported platform. The README of the tool I looked at says "Memcached is not implemented", which is a sentence you won't likely see in DDEV's docs.

Your Configuration Lives in Your Repository, Your Whole Team Has the Same Config

Everything about a DDEV project lives in its .ddev directory, and you commit that directory. A new developer on the team clones the repository, runs ddev start, and has the same PHP version, the same database version, the same add-ons, the same hostnames, and the same custom commands as everybody else. It works the same on macOS, Windows, WSL2, and Linux, on both AMD64 and ARM64.

Many native tools keep project configuration in your home directory, so each developer sets up each project by hand, and the next person to join the team gets to do it again. Herd is an exception: a herd.yml file in the repository sets the PHP version, certificates, and services for the project. But it covers only what Herd ships, so it has no place for your own services or custom commands. I said in Why use DDEV instead of rolling your own Docker-based local dev solution? that the biggest benefit of DDEV may be that the team lead gets the day off. That's still true.

Your Project Runs in Containers, Not on Your Host

DDEV's web server, PHP, Composer, Node.js, and database all run in containers. Your project's code is mounted or synced into them, but composer install and npm install and whatever post-install scripts come with them run inside the container, not on your computer.

That matters more now than it used to, because many of us have AI agents running composer, npm, and test suites for us all day long, and a container is a good place for that.

DDEV also respects your computer. It doesn't install a privileged helper, add PHP shims to the front of your PATH, or edit /etc/hosts every time you add a project. If you want to remove DDEV, you remove DDEV.

The Everyday Features

Then there's the list of things people take for granted once they have them:

  • Xdebug step debugging with ddev xdebug on. With PhpStorm there's no setup at all.
  • Mutagen for fast file access on macOS and Windows, on by default.
  • ddev composer, ddev npm, ddev drush, ddev artisan, and custom commands your team can add.
  • Settings file management for Drupal, WordPress, TYPO3, Craft CMS, Magento, Shopware, Backdrop, and others, which you can turn off.
  • ddev pull and ddev push for Upsun, Pantheon, Acquia, and Lagoon, plus examples for rsync, Git, and local files that you can adapt for any host you use.
  • Database snapshots, import, and export.
Your Dev Environment Shouldn't Be a Sales Funnel

Some of the most polished local development tools are made by companies that sell something else.

Local is a lovely tool, but it's only for WordPress, and it belongs to WP Engine. Its Connect feature pushes and pulls sites to WP Engine and Flywheel, and for any other host the help docs suggest a migration plugin instead. Its job is to sell hosting.

Laravel Herd is the slickest of the native tools, and if you're one developer doing Laravel on a Mac, you may like it a lot. It runs on macOS and Windows; the Herd site says Linux is "not… yet". The free version includes PHP, nginx, DNS, and Node.js. MySQL, PostgreSQL, Redis, mail, and Xdebug detection are in Herd Pro, a yearly subscription. And Herd can deploy straight to Laravel Cloud.

There's nothing wrong with any of that. Companies need to make money, and these are good products. But it does mean that a tool tied to one framework and one hosting company is going to work best with that framework and that hosting company, and its pricing and features are decided by that company's business plans. When you take on a Drupal client, or a Symfony API, or a Python service, or a site hosted somewhere else, you need another tool.

DDEV is different in a few ways that matter:

  • DDEV is free and open-source software, Apache-2.0 licensed. There's no Pro tier.
  • DDEV works with Drupal, WordPress, TYPO3, Laravel, Symfony, Craft CMS, Magento, Shopware, Backdrop, generic PHP, Node.js, Python, and whatever else you can put in a container.
  • DDEV is owned by the DDEV Foundation, a US 501(c)(3) nonprofit with a Board of Directors. The Foundation doesn't sell hosting or anything else.

Hosting companies do sponsor DDEV, and we're grateful to them. Upsun was our lead sponsor for years and still sponsors DDEV today. But a sponsorship doesn't buy lock-in. Every hosting integration is a small YAML file in your project's .ddev/providers directory that you can read, change, or copy to support some other host.

Maintenance in Month 5, and in Year 5

AI makes the first version of a tool cheap. It doesn't make the next five years cheap.

Somebody has to answer questions when a new macOS release changes how certificates are trusted, when a Linux distribution drops a library the bundled PHP needs, when Docker Desktop or OrbStack changes something, when a new PHP or database version comes out, and when a user in another country has a VPN that does something nobody has seen before. The first version of a local development tool is the easy part. Month 5 is when the real work starts, and in year 5 it's still going on.

DDEV has been doing that work for almost ten years. We run automated tests on every supported platform and Docker provider, and benchmark them every night. New PHP, database, and CMS versions are usually supported before their release. And you get support from the maintainers and the community in Discord and the issue queue.

That work is paid for by the DDEV Foundation, which pays the maintainers, keeps public financial reports, and has a board of directors, so DDEV doesn't depend on one person's weekend or one company's priorities. I wrote more about that in Securing DDEV's Future.

When a Native Stack Is Fine

There are good reasons to use a native stack. If you're one developer working on a few similar PHP projects, you don't need different database versions, you don't work with a team, and you don't want a container runtime on your computer, a native tool will probably work for you.

But "I don't want Docker" doesn't mean what it did a few years ago. You don't need Docker Desktop to use DDEV. OrbStack, Colima, Lima, Rancher Desktop, Podman, and Docker CE on Linux or in WSL2 all work, most of them are free and open-source, and our nightly benchmarks show that the macOS providers now perform about the same.

The Comparison Native or vibe-coded stack Herd, Local, and similar Your own docker-compose DDEV Project isolation None, shared servers Herd: none, shared servers; Local: separate processes Yes Yes, a network per project Hostnames and HTTPS Edits /etc/hosts or runs dnsmasq Built-in You build it *.ddev.site, Traefik, trusted HTTPS PHP version per project Usually Yes Yes 5.6 through 8.6 Database version per project No, one per engine Varies Yes Yes, MariaDB, MySQL, PostgreSQL Web server per project Sometimes Herd: nginx; Local: nginx or Apache Yes nginx, Apache, or generic Extra services What the author ships What the vendor ships You build them 322 add-ons Configuration in your repository Usually not Herd: herd.yml, for what Herd ships; Local: No Yes Yes, .ddev Project types PHP One framework or CMS Anything PHP, Node.js, Python, and more Platforms Varies Herd: macOS and Windows; Local: also Linux Wherever Docker runs macOS, Windows, WSL2, Linux, AMD64/ARM64 Tied to a hosting company No Often No No License Varies Proprietary, often paid tiers Yours Apache-2.0, free Who maintains it The author, for now A company You The DDEV Foundation, a nonprofit Support The author The vendor You Maintainers and a large community Go Ahead and Build One

If you enjoy building your own local development environment, go ahead. You'll learn a lot about web servers and PHP-FPM and certificates, and I'll probably enjoy reading about it. But if you want to spend your time on your projects instead of on your development environment, that's what DDEV is for.

DDEV is free, open-source, and owned by a nonprofit, and it's sustained by people and organizations who use it. If it saves you time, please consider sponsoring DDEV. Sponsorships to the DDEV Foundation may be tax-deductible in the US.

DDEV exists for its community and wouldn't be anything at all without these years of community contribution. Come tell us what you think and what you need in Discord. We want to see your contributions too (which are easier than ever with AI). In this rapidly changing world we don't know what the future holds, but we hope that DDEV will still be relevant to you in coming months and years.

Freelock Blog: Your Community Has a Landlord

Your Community Has a Landlord Image Anonymous (not verified) Wed, 12/02/2026 - 09:00 Door image Village green Your members gather in a Facebook group, a subreddit or a Discord server. It's free, and everyone's already there. Here's what that really costs, and what it looks like to bring your community home. Year Advent 2026 - 24 days of owning your platform

Omega8.cc: The Bonnet Stays Shut

Two texts on Planet Drupal this week belong together. The interim CEO of the Drupal Association said that everyone is exhausted by the run of security updates, and Bhavin Joshi listed four gaps to close, the first being that Drupal core still cannot update itself after eight years of trying. We host Drupal since 2009 and look after Ægir, so here is our answer to both. A site should never be the one which rewrites its own code, least of all now. The update a small team can trust has been in the Drupal world since 2009: the newer codebase goes up beside the old one and the site is carried over, with a way back, and on BOA that is, for Drupal 10 and newer, the Upgrade task, one button in the control panel. As for the exhaustion, the faults are found by machines now, and the tools which give the attention back exist today. Money matters, but the tools matter far more.

Lucius Digital: Chat with your workspaces: an open source AI assistant implementation in Drupal

Finding something in OpenLucius often means clicking through groups, message threads and task lists. Latest release now ships with a new optional AI assistant, you can just ask: 'What changed in Marketing this week?', 'Which of my tasks are still open?', 'Where did we agree on the launch date?' It answers from your group messages, tasks, notebooks, files and activity, with links straight to the items. Chat in English or your own language.

OpenLucius is a Drupal 11 distribution for social collaboration, 100% open source.

Currently the AI assistent is read-only and it only shows content in groups you are a member of. For now it finds content by keywords; semantic search is the next step, that will also catch near matches, synonyms and related wording.

This post explains how this agentic RAG concept is built on the Drupal AI ecosystem, ol_search module and why its security lives in a new service.

Drupal AI Initiative: Drupal AI Summit Paris 2026: Session Recap & Slide Decks

Returning to Paris for its second consecutive year and doubling in size, the Drupal AI Summit brought together end customers, digital agencies, and consultancies actively implementing artificial intelligence solutions.

Speakers, including Drupal AI leaders, Drupal core maintainers, and agency leaders from across Europe, shared real-world enterprise case studies, research on emerging models and agentic techniques, and upcoming innovations in the Drupal AI ecosystem.

The summit anchored the opening day of Future of Software Technologies (FOST), a major three-day conference bringing together over 25 independent technology events, 300+ sessions, and more than 5,000 delegates exploring APIs, AI, agents, cybersecurity, and modern digital infrastructure.

Explore the session lineup below to access the speaker slide decks:

To find details of our upcoming events and webinars, visit drupal.org/ai/events.

Upcoming Webinar: AI Governance for Higher Ed & Public Sector

Join us on Wednesday, December 9, 2026 at 10:00 am Eastern for a practical conversation with the authors of From Policy to Deployment: AI Governance for Institutional Websites. Learn how to assess AI use on your website, decide what safeguards it needs, and know when it is ready to launch. Register at new.drupal.org/ai/ai-governance-webinar.

joshics.in: Beyond the Keynote: Fixing Drupal's Update, Recipe, Product, and Funding Gaps

Beyond the Keynote: Fixing Drupal's Update, Recipe, Product, and Funding Gaps bhavinhjoshi 02/12/2026

Drupal 12 is days away, and Drupal 10 reaches end of life on December 9, 2026. After nearly two decades of architecting and maintaining Drupal platforms since Drupal 5, I still believe Drupal remains one of the strongest structured-content engines in open source.

Reported installations running Drupal 8 or newer actually grew roughly 12.2% over the past year, climbing from 469,925 to 527,443 sites. That momentum is exactly why it is worth talking plainly about the four hard problems that rarely make it onto keynote slides.

None of these gaps are hidden. They sit in plain sight across core issue queues, public service announcements, and Drupal Association board reports. Pointing out cracks is easy, below is an honest breakdown of all four unfinished problems alongside practical engineering and governance fixes the ecosystem can actually ship.

Update (December 2, 2026): On December 1, Drupal Association Interim CEO Tiffany Farriss published In the Open: A bridge to 2027, acknowledging widespread exhaustion from the cadence of security updates, outlining a shift to a reimagined Drupal Certified Program to cover baseline operational costs, and opening early grant-seeking conversations for a new Security and Workflows initiative. That announcement makes fixing these four underlying structural gaps even more urgent.

01

Eight Years In, Core Still Cannot Update Itself

The Automatic Updates initiative launched in September 2018 to eliminate Drupal's biggest day-two adoption barrier: site owners should not need Composer, SSH, and a senior developer just to apply a routine security patch.

Where things stand today:

  • With 12.0.0-rc1 already tagged, Automatic Updates is still not in core. It remains a contributed module (drupal/automatic_updates) built on top of core's experimental Package Manager API.
  • Unattended updates remain off by default, major-version upgrades and multisites are unsupported, and in-place updates cannot run on immutable-filesystem enterprise hosts like Acquia or Pantheon.
  • Meanwhile, PSA-2026-11-02 (November 2, 2026) reduced core minor-release security coverage from 12 months down to 8 months starting with Drupal 11.5 and 12.0. Site owners now face faster forced upgrade cycles on a platform that still expects CLI workflows.

How to fix it: Stop trying to solve shared hosting and enterprise CI/CD with one mechanism. Split the update architecture by deployment reality:

  • Writable & small-team hosting: Ship an official, cryptographically signed atomic artifact-swap updater using pre-built release bundles, mandatory pre-flight database and filesystem snapshots, and one-click rollback—no Composer memory ceilings required.
  • Immutable enterprise hosting: Accept that read-only production filesystems should never update in place. Ship an official, standardized CI bot (GitHub Actions and GitLab CI templates) that automatically opens tested Composer security pull requests on release day.
  • Tie support windows to tooling reality: Pair shorter 8-month minor cycles with effortless automated updates, or offer a funded Long-Term Support track so maintenance pressure does not accelerate migrations away from Drupal.

02

Project Browser Exited Core, and Recipes Lack a Day-Two Lifecycle

Recipes were introduced to replace fragile distributions with composable, lock-in-free configuration. Right as Drupal 12 ships, however, the assembly story is showing clear operational cracks.

Where things stand today:

  • Core issue #3628805 removed the Project Browser Initiative from core's MAINTAINERS.txt, keeping it outside core as a contributed piece bundled mainly for Drupal CMS.
  • Recipes remain largely "apply and forget." Core issue #3607162 (opened June 2026 and still under review) is still debating how an unpacked recipe's version should even be recorded without unexpectedly mutating local composer.json files. Clean recipe upgrades and safe uninstalls after local edits remain unsolved.
  • Core removed the article and page content types from the standard profile and recipes (#3587118) and deprecated text_with_summary out of core for Drupal 12 (change record #3568381), forcing downstream ecosystems like Commerce and ECA to scramble around broken assumptions.

How to fix it: Treat Recipes like real software dependencies, not one-off install scripts:

  • Ship a dedicated Recipe Lockfile & Config Ledger: Record applied recipe names, versions, and config ownership hashes in a separate machine-readable manifest (keeping local composer.json untouched). Pair it with a three-way config diff so teams can inspect local vs. upstream changes before upgrading or rolling back a recipe.
  • Adopt a "No Orphaned Removal" policy: Before core removes foundational recipes or field plugins such as article_content_type, page_content_type, or text_with_summary, publish an official, jointly maintained contrib package under the drupal/ namespace first so downstream modules do not fragment into incompatible copies.

03

The "Ambitious Site Builder" Split Created Two Products on Half the Budget

External CMS market-share tracking shows Drupal's overall share has fallen roughly 82% since 2015 as small businesses migrated to managed SaaS platforms. For a decade, Drupal has tried to win back non-developer site builders without losing enterprise engineering teams.

Where things stand today:

  • Layering Drupal CMS on top of Drupal Core doubled the engineering, documentation, and marketing surface area the ecosystem has to support.
  • The two tracks pull in opposite directions: Core keeps getting leaner and more developer-centric (stripping default content types and shortening minor security windows), while Drupal CMS tries to wrap that same Composer and YAML engine in recipes, visual builders, and AI wizards.
  • New adopters still collide with the underlying complexity the moment an update fails or a recipe conflicts with a custom field.

How to fix it: Draw a clean, honest architectural boundary between the engine and the product:

  • Keep Drupal Core boring and rock-solid: Core's mandate should be API stability, predictable upgrades, security longevity, and raw performance—not absorbing short-term consumer UX churn.
  • Run Drupal CMS as a strictly versioned downstream product: Have Drupal CMS consume Core through stable APIs and ship a single, batteries-included release artifact with pre-tested updates, so mid-market teams never have to untangle Core vs. Drupal CMS vs. Composer unpack plugins on day one.

04

Drupal.org Infrastructure Still Has No Working Business Model

Credit belongs to the Drupal Association for publishing uncomfortable numbers openly in its August 2026 Audit and Financial Overview. The figures leave no room for wishful thinking.

Where things stand today:

  • The DA missed its strategic goal of tripling revenue from $3.49M in 2022 to $10.5M by 2026. Its 2024 deficit was restated downward in July 2026 from $570,000 to $923,000, and 2025 became the first year since 2019 reserves dipped below the three-month policy floor.
  • Between 2022 and 2025, the share of Drupal.org costs covered by DrupalCon surpluses collapsed from 76% to 11%. Donated services-in-trade now cover 48% ($1.01M), while general operating revenue absorbs 41% ($859K, up from $56.8K in 2022).
  • Leadership candidly noted that publishing the full measurable cost of running Drupal.org would be the first time anyone—including the board—had seen that complete figure.

How to fix it: Replace conference-dependent charity with procurement-friendly infrastructure rails:

  • Publish line-item infrastructure costs for direct enterprise sponsorship: Governments, universities, and corporations struggle to justify vague donations, but procurement teams can approve an annual operational line item funding measurable security triage, Composer endpoints, or CI runners.
  • Launch an official, opt-in Extended Security Assurance program: Keep Drupal Core 100% GPL and free forever, while offering an official DA-backed extended-support subscription for enterprises that want 24-month minor coverage instead of scrambling every 8 months. Route net revenue directly into paid security maintainers and Drupal.org operations.
  • Retire custom Drupal.org glue aggressively: Keep consolidating onto standard GitLab and Composer infrastructure so fixed maintenance debt shrinks every year instead of compounding.

"Drupal is free. The code of Drupal is free forever. But those of us who run Drupal know that running Drupal has never been free."

Tiffany Farriss, Interim CEO, Drupal Association (In the Open, October 2026) At a Glance: Four Unfinished Gaps and Practical Remedies Gap Current Reality (Dec 2026) Practical Fix Core Updates & Support Automatic Updates still in contrib after 8 years; minor security window cut to 8 months (PSA-2026-11-02). Split atomic artifact-swap updates (writable hosts) from official CI security PR bots (immutable hosts). Recipes & Extensions Project Browser removed from core MAINTAINERS.txt; recipes lack upgrade/uninstall lifecycle and version tracking (#3607162). Add a dedicated recipe lockfile with three-way config diffs; enforce a "No Orphaned Removal" rule for core packages. Core vs. Drupal CMS Two products sharing one strained budget and conflicting UX vs. framework priorities. Keep Core strictly a stable enterprise framework; ship Drupal CMS as an opinionated downstream release artifact. Drupal.org Funding DrupalCon surplus share fell from 76% to 11%; $923K restated 2024 deficit; reserves under 3-month floor. Publish full infra costs for procurement-ready sponsorship and offer opt-in DA-backed Extended Security Assurance. Where We Go From Here

None of these problems exist because the Drupal community lacks engineering talent or commitment. They exist because Drupal is trying to carry enterprise-grade software architecture, consumer site-building ambitions, and global open-source infrastructure on a governance and funding structure built fifteen years ago.

Drupal 12 gives the ecosystem a clean milestone to stop papering over those tensions. Fix the day-two update story for real hosting environments, give Recipes a real lifecycle, keep the contract between Core and Drupal CMS sharp, and put Drupal.org on a funding model that matches the scale of the organizations relying on it.

If you maintain Drupal in production or contribute to core and contrib, where do you agree, where do you think this misses the mark, and which of these four gaps would you fix first?

Bhavin Joshi is Co-Founder and CTO at Joshi Consultancy Services and has been architecting enterprise Drupal platforms since Drupal 5.

02/12/2026 Changed 02/12/2026 Drupal Drupal Planet Drupal 12 Open Source Software Architecture Share this Add new comment

LostCarPark Drupal Blog: Advent Calendar day 1 – Drupal Advocacy Program

Advent Calendar day 1 – Drupal Advocacy Program Anonymous (not verified) Wed, 12/02/2026 - 01:00

Welcome to door 1 of the 2026 Drupal Advent Calendar!

First I must apologise. I was perhaps a little too ambitious, taking on a rebuild of the Advent Calendar module, at the same time as redesigning this site, while I had several other projects ongoing. Unfortunately, I overstretched and the first door is a little late. But it’s still the 1st of December in New York, so that counts in my book!

The theme of this year’s Advent calendar is Advocating for Drupal. This ties in with the Drupal Advocacy Programme announced by Drupal founder Dries Buytaert at his DrupalCon Rotterdam “Driesnote”. It’s a…

Tags Advocating Drupal

Tag1 Insights: Inside the Pyramid: Hiding Entities from Your Domain Code

Take Away Francesco Placella, Tag1 Senior Architect and Technical Lead, continues the four-part Inside the Pyramid series with a small newsroom module showing how an article interface, a bundle class, a thin hook, and a Unit test fit together without the domain code ever touching an entity.

This is the third post in Inside the Pyramid, a four-part series on reshaping Drupal’s test suite so it runs faster and costs less. The series comes from my DrupalCon Rotterdam 2026 session and supports the initiative to adopt the Test Pyramid approach in Drupal core, which is looking for contributors. The first post, The Ideal Shape for Drupal’s Test Suite, looked at how the suite got its current shape and why the Test Pyramid is a better target. The second, Guiding Principles for a Faster Drupal Test Suite, laid out the principles behind the guidelines I propose. This one shows what those principles look like in code, using a small newsroom module.

Articles, Not Nodes

Everything starts from an article interface. Note that it does not extend NodeInterface: it is an interface speaking our language.

interface ArticleInterface { public function getHeadline(): string; public function getPublicationTime(): int; public function getLastReviewTime(): ?int; public function isEvergreen(): bool; }

The implementation, of course, relies on an entity: it is a bundle class. Whenever a node is loaded and it is an article, this class is instantiated and it implements our interface, which knows nothing about nodes, entities, or fields, so the rest of our code doesn’t need to either.

#[Bundle( entityType: 'node', bundle: 'article', )] class Article extends Node implements ArticleInterface { public function getPublicationTime(): int { return (int) $this->get('field_publication_date')->value; } public function getLastReviewTime(): ?int { $value = $this->get('field_last_review_date')->value; return $value !== NULL ? (int) $value : NULL; } // ... }

Hooks are an integration point, so they do know about entities, but this is an exception, not the rule. Here is a very thin hook implementation performing an Entity Access check (only editors should see the notice) and delegating all the rest of the logic to a service working with articles, not nodes:

#[Hook('node_view')] public function nodeView(array &$build, NodeInterface $node, EntityViewDisplayInterface $display, string $view_mode): void { if (!$node instanceof ArticleInterface || $view_mode !== 'full') { return; } $access = $node->access('update', NULL, TRUE); if ($access->isAllowed()) { $build['newsroom_review_notice'] = $this->articleViewBuilder->buildReviewNotice($node); } // ... }

The view builder only deals with articles and reaches out to another service working the same way: just look at the use section and you’ll notice that there is no trace of Entity/Field system classes. Here is the relevant bit of the review policy:

class ReviewPolicy { // ... public function getReviewDueTime(ArticleInterface $article): int { $interval = $article->isEvergreen() ? static::EVERGREEN_REVIEW_INTERVAL : static::REVIEW_INTERVAL; $reference = $article->getLastReviewTime() ?? $article->getPublicationTime(); return $reference + $interval; } public function needsReview(ArticleInterface $article): bool { return $this->getReviewDueTime($article) <= $this->time->getCurrentTime(); } }

Let’s have a look at the tests now. As you can see, the setup of the review policy test is very thin: we do not need to mock much and we can exercise the whole logic without ever instantiating an entity. Note the TimeInterface stub providing a test double for the time service: as we mentioned before, this is perfectly fine, since there is in practice zero chance of introducing a mismatch with the real implementation. As a matter of fact, we are making no assumptions about the internal logic (no expectation configured): we are just stubbing its behavior based on the public contract.

#[CoversClass(ReviewPolicy::class)] #[Group('newsroom')] class ReviewPolicyTest extends UnitTestCase { protected const int NOW = 1_790_000_000; protected ReviewPolicy $policy; protected function setUp(): void { parent::setUp(); $time = $this->prophesize(TimeInterface::class); $time->getCurrentTime()->willReturn(static::NOW); $this->policy = new ReviewPolicy($time->reveal()); } public function testReviewedArticle(): void { $article = new TestArticle( published: static::NOW - 2 * ReviewPolicy::REVIEW_INTERVAL, reviewed: static::NOW - 86400, ); $this->assertFalse($this->policy->needsReview($article)); } // ... }

You may have noticed that we are relying on a trick here: TestArticle is a fake implementation of ArticleInterface that doesn’t depend on the Entity system, so it is trivial to instantiate:

class TestArticle implements ArticleInterface { public function __construct( protected readonly int $published, protected readonly ?int $reviewed = NULL, protected readonly bool $evergreen = FALSE, protected readonly string $headline = 'Headline', ) {} public function getHeadline(): string { return $this->headline; } // ... }

This is an example of a sociable Unit test, one where additional real objects (collaborators) are instantiated alongside the tested class, as opposed to solitary Unit tests, where everything aside from the tested class is a test double.

The view builder test follows the same pattern. As long as you can hide entities, you can Unit-test all your domain-specific code and get a big performance boost, together with all the other benefits we talked about before.

Bundle Classes vs Entity Wrappers

Bundle classes are very useful when you are writing custom code; however, when you are writing core or contrib code, dealing with bundle-specific logic is much less common. How can we hide entities in our code and write domain-specific code in this scenario? An effective way to achieve this is via an entity wrapper: an object wrapping an entity and implementing a domain-specific interface. All the module code then interacts with the wrapper object(s) and does not need to know about the Entity system, aside from when persistence is involved.

Up Next

Entities do get stored and loaded, and persistence needs Integration tests. In the final post, I cover how the repository pattern keeps storage details out of your domain logic, how to treat plugin classes as adapters, and how the principles discussed previously apply to real Drupal core code.

Want a faster, leaner test suite for your Drupal project? Talk to our team.

Omega8.cc: Changing Lanes, Not Cars

More Drupal sites report Drupal 11 than Drupal 10 now, 316,801 against 208,688 in the usage table of drupal.org for the week of 22 November, and on Wednesday 9 December 2026 Drupal 10 reaches its end of life, in the week when Drupal 12.0 and 11.5 are due. On BOA, our hosting stack around the Ægir control panel, the move to Drupal 11 is one Upgrade task with a copy to go back to, and for a platform which the panel built with Composer the same dialog can build the Drupal 11 platform first. A site needs Drupal 10.3 or newer for it (18,098 sites still report less, and a 10.1 which we sent the short way on a test server ended in maintenance mode) and a home for six modules which left core. After the move the calendar gets simpler: from 2027 a new minor comes about every six months with two months to move, a rhythm these tasks are made for, and Drupal 11 itself is covered until December 2028.

Freelock Blog: Rent Everything, They Said: How to Avoid Vendor Lock-In

Rent Everything, They Said: How to Avoid Vendor Lock-In Image Anonymous (not verified) Tue, 12/01/2026 - 09:00 Door image All aboard You don't have to run everything yourself. Here's how to avoid vendor lock-in by keeping control of what would be hardest to move, plus three questions to ask before you renew. Year Advent 2026 - 24 days of owning your platform

Drupal Association blog: In the Open: A bridge to 2027

In the Open is a weekly series from Drupal Association Interim CEO Tiffany Farriss, sharing what she is hearing across the Drupal community and where the Association is headed. In this episode: Giving Tuesday, how the new Drupal Certified Program will cover the Association's ongoing operational costs, and early work on a possible initiative around security and workflows.

In this time, the most scarce resource any of us have is our attention.

The following is a transcript of Tiffany's remarks, lightly edited for readability.

Giving Tuesday

It's Giving Tuesday here in the US, and if you're listening to this, I would ask that you consider the Drupal Association in your giving plans this year. Every single gift, no matter its size, is part of the foundation that makes all of Drupal possible.

I'm Tiffany Farriss, the interim CEO of the Drupal Association, and this is In the Open, my regular update on the DA and Drupal as we navigate this time of change.

A bridge to sustainable models

In my last update, I talked a lot about Drupal.org and where we are, where we're going, and its chronic underfunding. And I made an appeal for gifts that could help us to accelerate that work that's already in progress.

Individual gifts like Ripple Maker gifts or end-of-year donations are going to help us be a bridge. They'll become a bridge to the new sustainable models that we're putting into place for 2027.

The way we're reimagining the Drupal Certified Partner Program into the Drupal Certified Program will allow us to start to cover those operational needs, both for the DA and for the project, as ongoing operational costs. Everything from our collaboration infrastructure, to packaging, to the website, and all those essential operational roles are intended to be covered on this ongoing basis.

That allows us to stabilize our baseline operations, and it's structured as a way to understand what our keep-the-lights-on costs are.

More than keeping the lights on

But you and I know it's not enough to just keep the lights on. It never has been for Drupal. We have big ambitions and big plans, and it would be remiss of me to not acknowledge this moment that we're in.

Everyone is exhausted. The near constant cadence of security updates across Drupal and all of our upstream dependencies is taking a toll on everybody, whether you're a member of the core team or the security team, a module maintainer, or an end user who's maintaining your own sites.

Where our attention matters most

In this time, the most scarce resource any of us have is our attention, and what I'm trying to think about is how we might evolve our workflows so that the community can concentrate our human attention where it matters most, and site owners and users can reliably trust that we're doing that.

This isn't just an operational need. This is a transformational need.

So it's important for me, while I'm here trying to think about our daily infrastructure and how we shore up those ongoing costs, that I also be really thinking about how Drupal responds to this moment, this broader moment within all of technology, and how we want to work moving forward.

Toward a security and workflows initiative

Drupal has patterns for this, of course. We have patterns for everything, and we think about these things through initiatives. So right now, I think it might be time for an initiative to think about security and workflows moving forward.

I've already had a couple calls on it as I record this this morning. We're actively having conversations, both ideating around what that future might look like and what our needs might be, and grant-seeking. So it's a discovery process for us around what that future might need to look like, what pieces we might need to put in place, and how we might start to test and pilot such a thing.

I'm having conversations with grant funders. I'm having conversations with other open source projects, because this moment, this need, isn't unique to Drupal, so I'm very interested in the ways in which we can solve it with others.

That scoping, that discovery, those preliminary funding conversations, that's underway now, and I do think that's going to continue to be a focus for me and for the Association and the broader community into 2027.

How you can help

As we start to close out 2026, I do want to let you know how you can help.

Any individual recurring gift at drupal.org/donate directly helps us with that operational foundation I talked about. If you are feeling deep gratitude for the security team and the work that they do, you can donate to them and their infrastructure work directly at drupal.org/security-team/donate. 

But also, if you have any connection with folks who might like to fund that work around reimagining the infrastructure and security processes around Drupal, please let me know. If it's your company, or you have contacts in any of the broader firms who might be interested in underwriting it, please let me know. I think this is a great time for Drupal's ambition and Drupal's innovation to lead the way in that conversation.

I'm available on Drupal Slack at @farriss, on LinkedIn as Tiffany Farriss, or always through drupal.org/contact.

Follow the conversation

New episodes of In the Open publish each week. Subscribe on the Drupal Association YouTube channel to follow along.

With thanks to Stephen Cross of Second Signal Media for producing this series.

Kevinquillen.com: Deploying Drupal

My second book, Deploying Drupal, arrives December 15, 2026. It follows a change from your local DDEV environment through GitHub Actions and into production, with checks along the way to help you ship with confidence.

Centarro: Drupal Commerce vs. WooCommerce

WooCommerce is a free plugin for WordPress. There’s no platform transaction fees, you own your code and data, and you get the web’s most familiar publishing tools and a developer pool so large you could fill a stadium with freelancers. If you already run a WordPress site and just want to sell a few products, it's a sensible choice.

But there’s a catch. WooCommerce turns a publishing platform into a store, and nearly everything beyond the basics arrives as a separate plugin, and usually as a paid plugin. Subscriptions, wholesale pricing, quotes, memberships, multi-currency and more all come with their own vendors, data models, release schedules, and license fees. Imagine trying to build a house where each room was planned and built by a different contractor. Good luck getting all the hallways to line up.

Drupal Commerce is also open source and also free. The real difference is the foundation. Drupal Commerce is a commerce framework built on Drupal's field-based entity system, which was designed to model whatever structured data a business needs. Products, orders, customers, price lists, and workflows share the same APIs, the same permissions, and the same storage patterns. 

eCommerce as a use case simply fits Drupal better.

Read more

Omega8.cc: Cheers, Ægir!

Ægir, the open source hosting system for Drupal, got its first commit on 7 December 2007, so on Monday it is nineteen years old. For the birthday we built it a site, cheers.aegir.us, and did the counting properly: 33 public repositories cloned fresh from drupal.org, GitLab and GitHub and every commit counted once, 39,903 changes in the end, by 158 people and one team. There is a timeline of forty dated entries, each tied to a commit, a tag or a page which records it, the charts (not one empty month in 228, Thursday the busiest day, a record of June 2010 which stood for sixteen years) and a picture of the work passing from hand to hand since Adrian Rossouw's first years. And if you ever committed to Ægir, under your full name or a nickname of the CVS years, you are on the wall of names.

Matt Glaman: Where max-age stops in Drupal

Dynamic Page Cache respects max-age. Internal Page Cache and the Cache-Control header your CDN reads don't. Here's how to keep Dynamic Page Cache working and give pages a real lifetime.

DrupalEasy: Cite for More Eyes

As part of my never-ending effort to keep on top of things going on in the community, I talk to a lot of folks and I read a lot of articles and blog posts about Drupal. 

Some of what I learn I post daily on various social media accounts (I'll leave a list at the bottom of this post) and sometimes there are some really good quotes that I wish I could give a larger platform to - this blog post is just that: my chance to highlight some of the cool things I've heard and read about Drupal over the past few months that have stuck with me, and I hope will get some more play. 

"Drupal 12 Is a Release About Subtraction"

I couldn't agree more with this title of a blog post by Martin Anderson-Clutz. So much has been removed including modules Migrate Drupal, Migrate UI, Search, Shortcut and themes Claro and Olivero as well as .module files, some default views, and ~10,000 lines of code just by moving to constructor property promotion.

"...it recorded more than 217,000 credits for more than 14,000 people"

Drupal's contribution credit system is one-of-a-kind in the open-source world and we should talk about it more often.

"From June through October 2026, Drupal published 256 security advisories."

In case you weren't paying attention, that's a lot. 

"I expect the technical work of moving a website from one platform to another to cost close to zero."

Uhhh - but doesn't part of our ecosystem depend on this type of work? Dries explains.

"Drupal core's static analysis with PHPStan now runs at level 3. It was previously running at level 1."

Even if you're not a coder, this is a big deal, IMHO.

"AI is good at the unglamorous parts of review"

Very few people enjoy the grunt work; let AI do it for you. 

Need help learning how? Check out our AI Inside Drupal Essentials class.

"ASH has made these slides just amazing, every year. Honestly, I've no idea how they knock it out of the park every time."

Indeed, the best part of the Driesnote is the slides (no offense, Dries!)

"Drupal is light-years ahead of its reputation"

Ok, I'll throw Dries a bone here - this might be my favorite quote from the past few months - a frustrating truth!

Interested in a sometimes-opinionated daily dose of Drupal? Follow me on:

Or, follow the any of the official DrupalEasy accounts listed in the footer below.

Not a single word in this blog post was written or edited by AI.

Pages