diff --git a/README.md b/README.md index ee4154d..e630f84 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ A Ruby implementation of Command-Query Responsibility Segregation (CQRS) with Ev Dependencies are managed using [Bundler](http://gembundler.com/). - $ sudo gem install bundler + $ gem install bundler Install all of the required gems for this application - $ sudo bundle install + $ bundle install ## Specs @@ -40,12 +40,12 @@ such as `RegisterCompanyCommand` - validates command - routes command to registered handler (there can be only one handler per command) -###Command Handler +###Command Handler such as `RegisterCompanyHandler` - loads corresponding aggregate root (using domain repository) - executes action on aggregate root - + ###Aggregate Roots such as `Company` @@ -80,4 +80,4 @@ such as `CompanyRegisteredHandler` - reconstitutes aggregate roots from events (from serialised JSON) - currently two adapters: ActiveRecord and in memory (for testing) - adapter interface is 2 methods: `find(guid)` and `save(aggregate_root)` -- could be extended to use a NoSQL store \ No newline at end of file +- could be extended to use a NoSQL store