This skill provides expert guidance for integrating HTMX into Drupal 11.3 and later, offering a declarative alternative to traditional AJAX for building dynamic user interfaces. It assists developers in implementing common patterns like dependent dropdowns, infinite scrolling, real-time validation, and multi-step wizards using the native Drupal Htmx class API. By streamlining the transition from AJAX responses to render arrays and providing robust pattern selection, it ensures high-performance, progressively enhanced web applications that remain maintainable and accessible.
주요 기능
0117 GitHub stars
02Automated migration paths from Drupal AJAX to HTMX patterns
03Best practices for progressive enhancement and ARIA accessibility in dynamic UI components
04Guidance on using the Drupal Core Htmx class and request detection traits
05Specialized support for Drupal Form API (FAPI) with HTMX integration
06Implementation of complex behaviors like Out-of-Band (OOB) swaps and URL history management
사용 사례
01Implementing infinite scroll or 'load more' functionality for Drupal listings and views
02Migrating a legacy Drupal module's AJAX callbacks to modern HTMX patterns
03Building a real-time, multi-step form wizard with bookmarkable states and URL history