RailsEventStore/rails_event_store
关于
基于 Active Record 的 Ruby 事件存储实现
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- +1
- 1个月
- +1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Rails Event Store
Rails Event Store (RES) is a library for publishing, consuming, storing and retrieving events. It's your best companion for going with an event-driven architecture for your Rails application.
You can use it:
- as your Publish-Subscribe bus
- to decouple core business logic from external concerns in Hexagonal style architectures
- as an alternative to ActiveRecord callbacks and Observers
- as a communication layer between loosely coupled components
- to react to published events synchronously or asynchronously
- to extract side-effects (notifications, metrics etc) from your controllers and services into event handlers
- to build an audit-log
- to create read-models
- to implement event-sourcing
Documentation
Documentation, tutorials and code samples are available at https://railseventstore.org.
Code status
This single repository hosts several gems and website with documentation — see the contribution guide.
We're aiming for 100% mutation coverage in this project. This is why:
- Why I want to introduce mutation testing to the rails_event_store gem
- Mutation testing and continuous integration
Whenever you fix a bug or add a new feature, we require that the coverage doesn't go down.
RailsEventStore gems
| Name | CI | Version | Downloads |
|---|---|---|---|
| rails_event_store | |||
| ruby_event_store-active_record | |||
| ruby_event_store | |||
| ruby_event_store-browser | |||
| ruby_event_store-rspec | |||
| aggregate_root |
Contributed gems
Unreleased contributed gems
| Name | CI |
|---|---|
| ruby_event_store-newrelic | |
| minitest-ruby_event_store | |
| dres_rails | |
| dres_client |
About
This repository is funded and maintained by arkency. Make sure to check out our Rails Architect Masterclass training and long-term support plans available.
探索相关项目
加载中…