inline_svg
Rails Event Store
inline_svg | Rails Event Store | |
---|---|---|
1 | 6 | |
685 | 1,375 | |
- | 0.6% | |
5.6 | 9.7 | |
6 months ago | 2 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.
inline_svg
-
Adding a Star Rating with Hotwire
The best way to style an SVG icon (which is one of the big advantages of the format, in my opinion) is to embed the SVG in the HTML document (render it inline with the rest of the HTML) and from there apply CSS styles as you might expect. There's a gem called inline_svg that we'll make use of to make that easier.
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?
opal-rails - Bringing Ruby to Rails · Rails bindings for Opal
wisper - A micro library providing Ruby objects with Publish-Subscribe capabilities
Decent Exposure - A helper for creating declarative interfaces in controllers
Sequent - CQRS & event sourcing framework for Ruby
EasilyTypable - Ruby module that facilitates English-like type checking in an inheritance hierarchy via "type_name?" methods
Trailblazer - The advanced business logic framework for Ruby.
Rectify - Build maintainable Rails apps
Smart Init - Simple service objects in Ruby - A simple gem for eliminating Ruby initializers boilerplate code, and providing unified service objects API
ActiveInteraction - :briefcase: Manage application specific business logic.
Amoeba - A ruby gem to allow the copying of ActiveRecord objects and their associated children, configurable with a DSL on the model
u-service - Represent use cases in a simple and powerful way while writing modular, expressive and sequentially logical code.