Enhancing Drupal Experience Builder with Real-Time Features

Selective Publishing

Lee Rowlands describes his work on Experience Builder for Drupal at Acquia and reviews its current capabilities in version 0.5.0-alpha1. He explains how the project combines Drupal core APIs with modern front-end tools such as React, Redux, RTK-Query, Vite and Astro. Lee then proposes enhancements to deliver a richer editing experience, beginning with true multi-user editing powered by collaborative algorithms like operation transformation, CRDT or the emerging Event Graph Walker.

He outlines a plan to replace polling with real-time server events using Mercure, enabling features such as live presence indicators and component-level edit highlights. To reduce latency in preview updates, Lee suggests two approaches: running Twig in the browser via WebAssembly or converting Twig templates to JSX through his experimental twigCASTer library. Both methods aim to move rendering closer to the user and avoid round-trip delays to the Drupal server.

The post offers a clear roadmap for advancing Experience Builder but will require careful evaluation of performance, complexity and hosting requirements. Implementing collaborative editing and real-time events may demand additional infrastructure and coordination across teams. Browser-based rendering via WebAssembly or AST conversion presents promising gains but raises questions about compatibility with custom Twig extensions. Overall, the proposed features reflect current user expectations and position Experience Builder to meet enterprise-scale needs.

Disclosure: This content is produced with the assistance of AI.

Disclaimer: The opinions expressed in this story do not necessarily represent that of TheDropTimes. We regularly share third-party blog posts that feature Drupal in good faith. TDT recommends Reader's discretion while consuming such content, as the veracity/authenticity of the story depends on the blogger and their motives. 

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related Drupal Initiatives

Related Organizations

Upcoming Events