On Fri, Jun 1, 2012 at 6:41 PM, Niclas Hedhman <[email protected]> wrote:
> On Fri, Jun 1, 2012 at 10:07 PM, Paul Merlin <[email protected]> wrote:
>>>   * Event Store model.
>> If I understand correctly this means that EventSourcing would be built
>> in Qi4j persistence support. In other words, we would gain EventSourcing
>> "for free". Am I right?
>
> Event Sourcing (I think) is a larger scope, since this will only deal
> with CRUD and Event Sourcing utilizes the richer domain model. So, the
> primitives needed to build Event Sourcing should be part of Qi4j Core,
> and Qi4j itself only has an "CRUD domain model", so that part is ES...
> Makes sense?

Is the main difference that CRUD is storing transitions as data diffs
and true Event Sourcing is storing commands ?
i.e:
CRUD events
 time1, currentStockProductQuantity=6
 time2, currentStockProductQuantity=5
Event Sourcing
 time2, decreaseStockProductQuantity(1)

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to