RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

CMDx - Service object Zen 🌸🍡🎍πŸͺ·πŸ§˜β€β™‚οΈπŸŒ…

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

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in