CMDx - Service object Zen
Briefly

"Say goodbye to messy service objects. CMDx provides a framework for designing complex business logic with clarity and consistency."
"https://drexed.github.io/cmdx/ Docs Repo Key features: Declarative attribute definitions with coercion, validation, and transformation Rich outcome handling (success/failure/skip/halt states with metadata) Middleware system (correlation IDs, timeouts, runtime tracking) Workflows with sequential/parallel execution and breakpoints Built-in logging with multiple formatters (JSON, Logstash, key-value) Callbacks and conditional execution Internationalization (85+ languages) RBS type signatures and comprehensive documentation"
"Rich outcome handling (success/failure/skip/halt states with metadata) Middleware system (correlation IDs, timeouts, runtime tracking) Workflows with sequential/parallel execution and breakpoints Built-in logging with multiple formatters (JSON, Logstash, key-value) Callbacks and conditional execution"
CMDx provides a structured framework for implementing complex business logic with clear, consistent patterns that replace ad-hoc service objects. Declarative attribute definitions support coercion, validation, and transformation to ensure correct inputs. Outcome handling covers success, failure, skip, and halt states and carries metadata for downstream logic. A middleware layer enables correlation IDs, timeouts, and runtime tracking for observability. Workflows support sequential and parallel execution with breakpoints and conditional callbacks. Built-in logging includes multiple formatters (JSON, Logstash, key-value). Internationalization spans 85+ languages and RBS type signatures plus documentation support type-safety and onboarding.
Read at rubyflow.com
Unable to calculate read time
[
|
]