CQRS and Event Sourcing are becoming buzzwords nowadays. This presentation tries to clarify both concepts and present a simple example application, written with those powerful architectures
Order */ public function get(OrderId $anId); ! /** @return Order[] */ public function byUser(UserId $aUserId); ! /** @return OrderWithAge[] */ public function allGroupedByAge(); }
Order */ public function get(OrderId $anId); ! /** @return Order[] */ public function byUser(UserId $aUserId); ! /** @return OrderWithAge[] */ public function allGroupedByAge(); ! /** @return OrderWithCarrier[] */ public function allGroupedByCarrier(); }