ActiveInteraction
Rails Event Store
Our great sponsors
ActiveInteraction | Rails Event Store | |
---|---|---|
6 | 6 | |
2,037 | 1,375 | |
- | 0.9% | |
2.6 | 9.7 | |
19 days ago | 12 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
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.
ActiveInteraction
-
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
Rails Event Store
-
Organize Business Logic in Your Ruby on Rails Application
That's not to say it's not an interesting pattern. You should use it if you have advanced reporting requirements, for example. If you want to learn more about it, look at Rails Event Store.
-
How would you build an audit log in Rails for a high-throughput API?
If you need something actually structured, you could use an Event Store
-
OOP vs. services for organizing business logic: is there a third way?
Rails Event Store – for an event-driven architecture
-
Event Store with Rails
Does anyone implemented or used a gem such as https://railseventstore.org to support Event Store in their Rails app?
-
What would you like to see in a Ruby web framework?
Events and CQRS are what rails event store deals with. I don't have any experience with it, though. It seems that they also support ROM and Sequel outside of Rails.
-
Yard Sale - event-driven e-commerce
This is a test project for Mongo Atlas hackathon. It uses RailsEventStore with PostgreSQL as an event store and MongoDB on Atlas for read models.
What are some alternatives?
Interactor - Interactor provides a common interface for performing complex user interactions.
wisper - A micro library providing Ruby objects with Publish-Subscribe capabilities
Trailblazer - The advanced business logic framework for Ruby.
Sequent - CQRS & event sourcing framework for Ruby
Mutations - Compose your business logic into commands that sanitize and validate input.
Light Service - Series of Actions with an emphasis on simplicity.
Rectify - Build maintainable Rails apps
PageletRails - Improve perceived performance of your rails application with minimum effort
u-service - Represent use cases in a simple and powerful way while writing modular, expressive and sequentially logical code.
Waterfall - A slice of functional programming to chain ruby services and blocks, thus providing a new approach to flow control. Make them flow!
dry-transaction - Business transaction DSL