SimpleCommand
A simple, standardized way to build and use Service Objects (aka Commands) in Ruby (by nebulab)
ActiveInteraction
:briefcase: Manage application specific business logic. (by AaronLasseigne)
Our great sponsors
SimpleCommand | ActiveInteraction | |
---|---|---|
3 | 6 | |
622 | 2,033 | |
0.2% | - | |
0.0 | 2.6 | |
7 months ago | 11 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SimpleCommand
Posts with mentions or reviews of SimpleCommand.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-21.
-
Floyd's E-Commerce: from Squarespace to Solidus
In 2014, Floyd was lesser known as The Floyd Leg. Our website was on Squarespace for both its e-commerce solution and web hosting. A large part of our current success was realized by choosing to invest in a custom web application that’s built with Solidus. With our website no longer abstracted by a WYSIWYG ("What You See Is What You Get") editor, we partnered with Nebulab to handle full-stack web development. Solidus (Spree, at the time, before it was acquired, forked, and renamed) was recommended to power the e-commerce part of our application. The decision to go custom came after a successful Kickstarter campaign back in 2015 for the Floyd Legs—a set of four steel table legs that fastened onto any flat surface to quickly put a table together. We proved a market need for adaptable and sustainable furniture design. The co-founders, Kyle Hoff and Alex O’Dell, knew there were more product offerings on the roadmap as they championed Floyd to be the furniture solution for all apartment essentials. Fast forward to 2019, Floyd is seeking to be the furniture solution for the entire home worldwide.
-
SolidService - A service pattern with a simple API
Isn’t this similar to simple command?
-
Simple Command
Link to library
ActiveInteraction
Posts with mentions or reviews of ActiveInteraction.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-06.
-
The Decree Design Pattern
One of the first things I plug into any new or inherited rails project over the last few years is ActiveInteraction.
-
Applying the Use Case Pattern with Rails
The Interactor and ActiveInteraction gems are both great libraries for implementing this pattern.
-
Is there a Gem to help skinny up controllers?
I guess that ActiveInteraction is what you're looking for: https://github.com/AaronLasseigne/active_interaction
-
How does Application Interaction runs 'execute' function?
Skimming the README, it looks like you can pass a lambda as a default:
-
Rails application boilerplate for fast MVP development
active_interaction to make controllers thin
-
How can I ask the controller to ask another controller to call one of its actions? Without violating the SRP?
I prefer building "interactions" these days (specific, single-purpose "services" that are easily callable and composable), using https://github.com/AaronLasseigne/active_interaction
What are some alternatives?
When comparing SimpleCommand and ActiveInteraction you can also consider the following projects:
Interactor - Interactor provides a common interface for performing complex user interactions.
dry-transaction - Business transaction DSL
Trailblazer - The advanced business logic framework for Ruby.
Mutations - Compose your business logic into commands that sanitize and validate input.
Sequent - CQRS & event sourcing framework for Ruby
Rails Event Store - A Ruby implementation of an Event Store based on Active Record
simple_active_link_to - Simple rails view helper to manage "active" state of a link
Light Service - Series of Actions with an emphasis on simplicity.
Responders - A set of Rails responders to dry up your application
PageletRails - Improve perceived performance of your rails application with minimum effort
SimpleCommand vs Interactor
ActiveInteraction vs Interactor
SimpleCommand vs dry-transaction
ActiveInteraction vs Trailblazer
SimpleCommand vs Mutations
ActiveInteraction vs Mutations
SimpleCommand vs Sequent
ActiveInteraction vs Rails Event Store
SimpleCommand vs simple_active_link_to
ActiveInteraction vs Light Service
SimpleCommand vs Responders
ActiveInteraction vs PageletRails