No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
tmp
vendor initial account MVC Jun 15, 2018
.DS_Store initial account MVC Jun 15, 2018
.gitignore
.ruby-version initial account MVC Jun 15, 2018
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package.json
paris_rb_slides.pdf

README.md

How to use this repo

This project is a simple example of how to incrementally apply the components of event sourcing into an existing system. It starts with a basic rails app with a single account.rb model.

Checkout each branch and compare it to the previous one to learn about:

  • 001_encapsulate_changes - name the events
  • 002_create_event_objects - create an object for events
  • 003_unify_event_handling - use generic interface for handling events
  • 004_persist_events - create in-memory event-store for saving/retrieving
  • 005_projectors - create subscribers and projectors, separate read & write objects
  • 006_commands - create command objects for handling requests and validations
  • 007_reactors - react to event by doing something else

A collection of guides on event sourcing for rubyists

Talks

Frameworks

Example apps

Blogs/slides

Intro

More advanced