ECA - New rules engine for Drupal 9+
Jürgen Haas
12 April 2022
For a huge customer project, which eventually started to migrate from Drupal 7 to 9, we faced the problem that the old site heavily used the Rules module - and repeated research convinced us that Rules wasn’t ready for the job.
Neither custom code nor hard-coded business logic was on.
It was time to consider a brand-new approach!
The Rules module for Drupal 8 is still in its alpha release stage … still needs significant work. (Excerpt description tr_rulez)
ECA doesn’t care!
Gateways, as a kind of extended conditions is also supported, not fully functional yet.
Integrated by Camunda BPMN module.
Integrated in Drupal UI. Everything is provided by BPMN.iO module.
ECA got started to provide a “Rules” equivalent for Drupal 9 and beyond. While getting close to deliver on that objective, ECA solves additional challenges and helps to trim-down the overhead of each Drupal application.
Provide a tool where people understanding their business logic, but not necessarily Drupal details, can participate in building and maintaining the configuration throughout the lifecycle of the Drupal application.
At the same time, Drupal CMI helps to track all the changes. In the future, we may even be able to support revisions and moderation, so that rock-solid workflows can be applied when needed.
ECA
Directories: 83
Files: 246
Lines of Code: 25658
Comment Lines of Code: 8662 (33.76%)
Non-Comment Lines of Code: 16996 (66.24%)
Test Coverage: almost 75%
Code Style: all clean
BPMN.IO
Directories: 1
Files: 2
Lines of Code: 161
Comment Lines of Code: 55 (34.16%)
Non-Comment Lines of Code: 106 (65.84%)
Test Coverage: 0%
Code Style: all clean
Beta-1 on 3rd November 2021
Beta-2 on 12th January 2022
Beta-3 on 17 March 2022
Beta-4 on 19 March 2022
Beta-5 on 21 March 2022
Beta-6 on 23 March 2022
Beta-7 on 29 March 2022
Beta-8 on 12 April 2022
RC-1 later this week !?!
Release 1.0.0 soon after