About the Book
In 2009 I have had the pleasure of spending a 2 day course and many geek beers with Greg Young talking about Domain-Driven Design specifically focussed on Command Query Responsibility Segregation (CQRS).
The example project I created based on these discussions was very well received by the community and regarded a good reference project to explain and learn the patterns that make up CQRS. I decided to add the different blog posts I wrote about the example into a single book so it is easy to find and read.
- The cover
CQRS à la Greg Young
- Queries (reporting)
- Commands (executing behavior on the domain)
- Command Handler
- Internal Events (capturing intent)
- Domain Behavior
- Domain Event
- Internal Domain Event Handler
- The Domain Repository
- Domain Repository Contract
- Data Mining
- External Events (publishing, letting others know)
- Eventual Consistency
- Some other benefits
- Using domain events for state change
- Getting the state changes
- Loading historical domain events
- The base class
- Aggregate entities
- Domain State
- Event Sourcing
- Event Versioning
- Black box
- The BaseTestFixture
- The BaseTestFixture<TSubjectUnderTest>
- The PresenterTestFixture<TPresenter>
- CQRS and Event Sourcing
- Where is Should?
Using conventions with Passive View
- Passive View
- The View
- The Presenter
- The Magic
- The Specifications
- The Ubiquitous Language is not Ubiquitous
Convention over Configuration
- Configure your Conventions
- Not just for framework code
Trying to make it re-usable
- Convention over Configuration
- Why have everything protected?
- Reflect only once
- Conventional limits
- Current state
The Leanpub 60-day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.