Category Archives: CQRS

CQRS: Links, News And Resources (6)

Previous Post

Lokad.CQRS Event Store is Slow – Journal – CQRS and Cloud Computing
http://abdullin.com/journal/2013/1/21/lokadcqrs-event-store-is-slow.html

CQRS: Command/Query Responsibility Segregation
http://www.slideshare.net/brianritchie1/cqrs-command-query-responsibility-segregation

Basic tutorial on Event Sourcing and CQRS « Code Snippets
http://mriet.wordpress.com/2012/09/22/basic-tutorial-on-event-sourcing-and-cqrs/

CQRS Architecture and Definitions – Journal – CQRS and Cloud Computing
http://abdullin.com/journal/2010/11/3/cqrs-architecture-and-definitions.html

CQRS Info
http://www.cqrsinfo.com/

CQRS-FAQ – home
http://cqrs-faq.wikispaces.com/

Using commands · sharparchitecture/Sharp-Architecture-Cookbook Wiki
https://github.com/sharparchitecture/Sharp-Architecture-Cookbook/wiki/Using-commands

gregoryyoung/m-r · GitHub
https://github.com/gregoryyoung/m-r
CQRS Example

ToJans/mauritius · GitHub
https://github.com/ToJans/mauritius
CQRS Example

mem-memov/blackboard · GitHub
https://github.com/mem-memov/blackboard/
Online blackboard

Doodle: VAN: CQRS Journey
http://www.doodle.com/b6keemn8xw93qrff

CQRS Journey
http://msdn.microsoft.com/en-us/library/jj554200.aspx

Event Store – An awesome, rock-solid, super-fast persistence engine for event-sourced applications
http://geteventstore.com/

DDD\CQRS Sample
http://cqrssample.codeplex.com/

Aggregate Root holding reference to another Aggregate, how do i set up the dependencies ? – Google Groups
https://groups.google.com/forum/#!topic/dddcqrs/TQBTn-tIj-w/discussion

My Links
http://delicious.com/ajlopez/cqrs

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

CQRS: Links, News And Resources (5)

Previous Post
Next Post

04×02 [Screencast] CQRS con Andrea Magnorsky (aka roundcrisis)
http://www.32minutos.net/?p=29

CQRS Around the World
http://cqrsguide.com/world

CQRS Pocket Guide
http://cqrsguide.com/

CQRS Case Studies
http://cqrsguide.com/case-studies
Sample code for IDDD Book by Vaughn Vernon
http://lokad.github.com/lokad-iddd-sample/

CQRS Mind Map
http://www.mindmeister.com/de/177815383/cqrs

UI Composition Techniques for Correct Service Boundires
http://www.udidahan.com/2012/06/23/ui-composition-techniques-for-correct-service-boundaries/

How we got rid of the database–part 4
http://lostechies.com/gabrielschenker/2012/06/20/how-we-got-rid-of-the-databasepart-4/
This is the fourth episode of a series of posts about how we do CQRS and event sourcing

cqrs-sample
http://code.google.com/p/cqrs-sample/
Sample CQRS implementation in Java

CQRS in DDD Community
http://dddcommunity.org/cqrs

OrmHate
http://martinfowler.com/bliki/OrmHate.html
Announcing V1 Pseudo-Production Release
http://cqrsjourney.github.com/blog/2012/05/08/Announcing-V1-Pseudo-Production-Release/
As part of our CQRS Journey we plan to have several pseudo-production releases of the Contoso Conference Management System so that we can explore the real-world issues of data-versioning and software updates in an application that implements the CQRS pattern in several bounded contexts.

debasishg / cqrs-akka
https://github.com/debasishg/cqrs-akka
An implementation of CQRS using scalaz for functional domain models and Akka for event sourcing

CQRS with Akka actors and functional domain models
http://debasishg.blogspot.com.ar/2011/01/cqrs-with-akka-actors-and-functional.html

Sagas
http://www.cs.cornell.edu/andru/cs711/2002fa/reading/sagas.pdf

Project “a CQRS Journey”
http://cqrsjourney.github.com/
There will be two, closely related, deliverables from this project: the source code for a complete, working reference implementation (an end-to-end sample app) that illustrates the key concepts, patterns, and approaches related to CQRS & ES, and a written guide to accompany the code, provide explanations, context, and references to other relevant material.

mspnp / cqrs-journey-code
https://github.com/mspnp/cqrs-journey-code
Microsoft patterns & pratices CQRS Journey sample application
Microsoft’s CQRS Journey project to take community contributions
http://blogs.msdn.com/b/agile/archive/2012/02/24/microsoft-s-cqrs-journey-project-to-take-community-contributions.aspx

Focus for next iterations in Lokad.CQRS Sample Project
http://abdullin.com/journal/2012/2/15/focus-for-next-iterations-in-lokadcqrs-sample-project.html

My Links
http://delicious.com/ajlopez/cqrs

CQRS: Links, News And Resources (4)

Previous Post
Next Post

Let’s Scale Out CQRS Sample Project
http://abdullin.com/journal/2012/2/16/lets-scale-out-cqrs-sample-project.html
CQRS Videos
http://cqrs.wordpress.com/video/

SzymonPobiega / DDDSample.Net
https://github.com/SzymonPobiega/DDDSample.Net
A .NET implementation of Domain Driven Design (DDD) sample application based on Eric Evans’ examples included in his great book. Project is intended to be used in training, demonstration and experiments.

Bringing an MVC perspective to CQRS.
http://codefish21056.blogspot.com.ar/2010/08/cqrs-mvc.html
This article makes the point that the MVC and CQRS patterns are very similar. My hope is that with this “new” understating new development tools bringing the two patterns together can be developed to facilitate our programmers lives.

KABA-CCEAC / nodeEventStore
https://github.com/KABA-CCEAC/nodeEventStore
EventStore Implementation in node.js

Why Event Sourcing?
http://abdullin.com/journal/2011/9/27/why-event-sourcing.html
Event Sourcing is a concept that becomes increasingly popular day by day. Even ThoughtWorks has brought it into it’s latest Technology Radar. Let’s do a quick overview of ES one more time.

Why use Event Sourcing?
http://codebetter.com/gregyoung/2010/02/20/why-use-event-sourcing/

Autofac decorators look like a perfect fit for CQRS commands
https://groups.google.com/forum/#!topic/dddcqrs/JQtV_X8R0ro/discussion
Thinking Asynchronous – Domain Modeling using Akka Transactors – Part 1
http://debasishg.blogspot.com.ar/2010/03/thinking-asynchronous-domain-modeling.html

Thoughts on Event Streams in Elastic Environments
http://abdullin.com/journal/2011/12/3/thoughts-on-event-streams-in-elastic-environments.html

CQRS: Sagas with Event Sourcing (Part II of II)
http://blog.jonathanoliver.com/2010/09/cqrs-sagas-with-event-sourcing-part-ii-of-ii/

Sagas
http://www.amundsen.com/downloads/sagas.pdf

CQRS Command Testing With PHPSpec
http://blog.andho.com/2011-11-24/cqrs-command-testing-with-phpspec/

Towards an immutable domain model – introduction (part 1)
http://blog.zilverline.com/2011/02/01/towards-an-immutable-domain-model-introduction-part-1/

ToJans / MinimalisticCQRS
https://github.com/ToJans/MinimalisticCQRS
CQRS for the lazy *ss

Aclarando CQRS (traducción)
https://docs.google.com/document/d/1-5rmzY48aXZp3A-uaULnwU0gV7r1E1ZkEV1i5YBn-LI/edit?pli=1

p&p roadmap for the next few months
http://blogs.msdn.com/b/eugeniop/archive/2011/11/01/p-amp-p-roadmap-for-the-next-few-months.aspx

CQRS without the plumbing – Example app
http://scritchyexample.apphb.com/

ToJans / Scritchy
https://github.com/ToJans/Scritchy
CQRS without plumbing

Scritchy BankAccount part 1 – CQRS without the plumbing
http://www.youtube.com/watch?v=5DKTFZD3hu8

Episode 9: When To Avoid CQRS—Clarified
http://distributedpodcast.com/2011/episode-9-when-to-avoid-cqrsclarified

gregoryyoung / m-r
https://github.com/gregoryyoung/m-r/
Simple CQRS example

CQRS Documents by Greg Young
http://cqrs.files.wordpress.com/2010/11/cqrs_documents.pdf

CQRS is too complicated
http://codeofrob.com/entries/cqrs-is-too-complicated.html

Command-Query Separation on Windows Azure
http://blog.ntotten.com/2011/10/24/command-query-separation-on-windows-azure/

Using and Abusing the CQRS EventStore
http://vimeo.com/31153808

Thoughts around REST, DDD, and CQRS: Models, Queries, and Commands
https://groups.google.com/forum/?fromgroups#!topic/the-design-of-distributed-applications/8ilexg74fHc

My Links
http://delicious.com/ajlopez/cqrs

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

CQRS: Links, News And Resources (3)

Previous Post

The third installment of this link series. This time, tutorial resources.

CQRS Starting Page
http://abdullin.com/cqrs/
This page lists learning materials, documents, videos, tips and reference implementations about getting started with Command and Query Responsibility Segregation.

Clarified CQRS
http://www.udidahan.com/2009/12/09/clarified-cqrs/

Towards an immutable domain model – introduction (part 1)
http://blog.zilverline.com/2011/02/01/towards-an-immutable-domain-model-introduction-part-1/

Aclarando CQRS (traducción)
https://docs.google.com/document/d/1-5rmzY48aXZp3A-uaULnwU0gV7r1E1ZkEV1i5YBn-LI/edit?pli=1

CQRS Documents by Greg Young
http://cqrs.files.wordpress.com/2010/11/cqrs_documents.pdf

In The Brain of Udi Dahan: CQRS, race conditions, and sagas – oh my!
http://skillsmatter.com/podcast/open-source-dot-net/udi-dahan-cqrs-race-conditions-and-sagas

CQRS
http://martinfowler.com/bliki/CQRS.html

Why I Still Love CQRS (and Messaging and Event Sourcing)
http://blog.jonathanoliver.com/2011/05/why-i-still-love-cqrs-and-messaging-and-event-sourcing/

CQRS, Task Based UIs, Event Sourcing agh!
http://codebetter.com/gregyoung/2010/02/16/cqrs-task-based-uis-event-sourcing-agh/

cqrs for dummies – an interlude – has it all been a waste of time?
http://www.blogcoward.com/archive/2011/04/24/cqrs-for-dummiesndashan-interlude-ndash-has-it-all-been-a.aspx

Use CQRS When Constrained on Developers and Time
http://abdullin.com/journal/2011/4/23/use-cqrs-when-constrained-on-developers-and-time.html

Event Sourcing and CQRS, Let’s use it.
http://thinkbeforecoding.com/post/2009/11/02/Event-Sourcing-and-CQRS-Lets-use-it

DDDD: Why I Love CQRS
http://blog.jonathanoliver.com/2009/10/dddd-why-i-love-cqrs/

CQRS – The Domain Events
http://elegantcode.com/2009/11/20/cqrs-the-domain-events/

Command / Query service in WCF
http://www.codinginstinct.com/2010/11/command-query-service-in-wcf.html

Theory of CQRS Command Handlers: Sagas, ARs and Event Subscriptions
http://abdullin.com/journal/2010/9/26/theory-of-cqrs-command-handlers-sagas-ars-and-event-subscrip.html

Race Conditions Don’t Exist
http://www.udidahan.com/2010/08/31/race-conditions-dont-exist/

Event Sourcing
http://martinfowler.com/eaaDev/EventSourcing.html

My Links
http://delicious.com/ajlopez/cqrs+tutorial+toblog

More links are coming.

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

CQRS: Links, News And Resources (3)

Previous Post
Next Post

The third installment of this link series. This time, tutorial resources.

CQRS Starting Page
http://abdullin.com/cqrs/
This page lists learning materials, documents, videos, tips and reference implementations about getting started with Command and Query Responsibility Segregation.

Clarified CQRS
http://www.udidahan.com/2009/12/09/clarified-cqrs/

Towards an immutable domain model – introduction (part 1)
http://blog.zilverline.com/2011/02/01/towards-an-immutable-domain-model-introduction-part-1/

Aclarando CQRS (traducción)
https://docs.google.com/document/d/1-5rmzY48aXZp3A-uaULnwU0gV7r1E1ZkEV1i5YBn-LI/edit?pli=1

CQRS Documents by Greg Young
http://cqrs.files.wordpress.com/2010/11/cqrs_documents.pdf

In The Brain of Udi Dahan: CQRS, race conditions, and sagas – oh my!
http://skillsmatter.com/podcast/open-source-dot-net/udi-dahan-cqrs-race-conditions-and-sagas

CQRS
http://martinfowler.com/bliki/CQRS.html

Why I Still Love CQRS (and Messaging and Event Sourcing)
http://blog.jonathanoliver.com/2011/05/why-i-still-love-cqrs-and-messaging-and-event-sourcing/

CQRS, Task Based UIs, Event Sourcing agh!
http://codebetter.com/gregyoung/2010/02/16/cqrs-task-based-uis-event-sourcing-agh/

cqrs for dummies – an interlude – has it all been a waste of time?
http://www.blogcoward.com/archive/2011/04/24/cqrs-for-dummiesndashan-interlude-ndash-has-it-all-been-a.aspx

Use CQRS When Constrained on Developers and Time
http://abdullin.com/journal/2011/4/23/use-cqrs-when-constrained-on-developers-and-time.html

Event Sourcing and CQRS, Let’s use it.
http://thinkbeforecoding.com/post/2009/11/02/Event-Sourcing-and-CQRS-Lets-use-it

DDDD: Why I Love CQRS
http://blog.jonathanoliver.com/2009/10/dddd-why-i-love-cqrs/

CQRS – The Domain Events
http://elegantcode.com/2009/11/20/cqrs-the-domain-events/

Command / Query service in WCF
http://www.codinginstinct.com/2010/11/command-query-service-in-wcf.html

Theory of CQRS Command Handlers: Sagas, ARs and Event Subscriptions
http://abdullin.com/journal/2010/9/26/theory-of-cqrs-command-handlers-sagas-ars-and-event-subscrip.html

Race Conditions Don’t Exist
http://www.udidahan.com/2010/08/31/race-conditions-dont-exist/

Event Sourcing
http://martinfowler.com/eaaDev/EventSourcing.html

My Links
http://delicious.com/ajlopez/cqrs+tutorial+toblog

More links are coming.

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

CQRS: Links, News And Resources (2)

Previous Post
Next Post

More CQRS links, this time oriented to examples:

Greg Young Simple CQRS Sample
https://github.com/gregoryyoung/m-r/

Command-Query Separation on Windows Azure
http://ntotten.com/2011/10/command-query-separation-on-windows-azure/

jamuhl / nodeCQRS
https://github.com/jamuhl/nodeCQRS
CQRS Sample in node.js

CQRS and Event Sourcing with NCQRS
http://www.nicholascloud.com/2011/09/cqrs-and-event-sourcing-with-ncqrs/

ddd-cqrs-sample
http://code.google.com/p/ddd-cqrs-sample/
Domain Driven Design & Command-query Responsibility Segregation sample project – Java, Spring, JPA

archfirst
https://code.google.com/p/archfirst/
Sharing software best practices through real-world examples

Case Study CQRS
http://abstractiondev.wordpress.com/case-study-cqrs/

Scalable and Simple CQRS Views in the Cloud
http://abdullin.com/journal/2011/1/19/scalable-and-simple-cqrs-views-in-the-cloud.html

Eventual Consistency and Set Validation
http://codebetter.com/gregyoung/2010/08/12/eventual-consistency-and-set-validation/

Event Sourcing and CQRS, Let’s use it.
http://thinkbeforecoding.com/post/2009/11/02/Event-Sourcing-and-CQRS-Lets-use-it

Event Sourcing and Read Model generation
http://stackoverflow.com/questions/4064067/event-sourcing-and-read-model-generation

tyronegroves / SimpleCQRS
https://github.com/tyronegroves/SimpleCQRS
A framework for building applications using the CQRS and Event Sourcing patterns

CQRS Starting Page
http://abdullin.com/cqrs/
This page lists learning materials, documents, videos, tips and reference implementations about getting started with Command and Query Responsibility Segregation.

Command / Query service in WCF
http://www.codinginstinct.com/2010/11/command-query-service-in-wcf.html

Release of Lokad-CQRS for Windows Azure, Community Credits.
http://abdullin.com/journal/2010/10/15/release-of-lokad-cqrs-for-windows-azure-community-credits.html

Teach Visual Studio Your Own Language – Easy!
http://abdullin.com/journal/2010/10/12/teach-visual-studio-your-own-language-easy.html

EDA CQRS Betting Sample
http://fornax-sculptor.blogspot.com/2010/09/eda-cqrs-betting-sample.html

Simple CQRS + NHibernate event store
http://jasondentler.com/blog/2010/10/simple-cqrs-nhibernate-event-store/

jhicks / EventSourcing
https://github.com/jhicks/EventSourcing
The event sourcing piece of a CQRS framework

Lokad CQRS
http://lokad.github.com/lokad-cqrs/
Lokad.CQRS is a .NET framework and a set of guidance materials for building distributed and scalable applications to be run on-premises or in the cloud. This project helps to design and develop decoupled systems locally and bring them to the distributed environments

Ncqrs Framework
http://ncqrs.org/
Ncqrs is a framework for .NET helps build scalable, extensible and maintainable applications by supporting developers apply the CQRS architectural pattern.
https://github.com/ncqrs/ncqrs

CQRS and Event Sourcing
http://codebetter.com/gregyoung/2010/02/13/cqrs-and-event-sourcing/

Recording of Mark Nijhof on CQRS @ E-VAN 18 November 2009
http://europevan.blogspot.com/2009/11/recording-of-mark-nijhof-on-cqrs-e-van.html

MarkNijhof / Fohjin
https://github.com/MarkNijhof/Fohjin

My Links
http://delicious.com/ajlopez/cqrs+example

CQRS: Links, News and Resources (1)

Next Post

CQRS (Command Query Responsibility Separation) is  a big topic. CQRS is not accepted by everyone: maybe complete implementations have added implementation complexity, and you have to know when to use it or not. You have CQRS with and without DDD (Domain-Driven Design) and with and without Event Sourcing.

In this post I included links with videos, podcasts, Infoq presentations about CQRS. More links are coming!

From: http://en.wikipedia.org/wiki/Domain-driven_design

Command-query separation (CQRS)

CQRS an architectural pattern for separation of reads from writes where the former is a Query and the latter is a Command. Commands mutate state and are hence approximately equivalent to method invocation on your aggregate roots/entities and Queries query state, but do not mutate it. CQRS is a derivative architectural pattern from the design pattern called Command and Query Separation (CQS) which was coined by Meyer. While CQRS does not require DDD, domain driven design makes the distinction between commands and queries, explicit, around the concept of an aggregate root. The idea is that a given aggregate root has a method that corresponds to a command and a command handler invokes the method on the aggregate root. The aggregate root is responsible for performing the logic of the operation and yielding either a number of events or a failure (exception or execution result enumeration/number) response OR (if ES is not used) just mutating its state for a persister implementation such as an ORM to write to a data store, while the command handler is responsible for pulling in infrastructure concerns related to the saving of the aggregate root’s state or events and creating the needed contexts (e.g. transactions).

Jonathan Oliver on Event Sourcing and EventStore @ E-VAN 25 October 2011
http://vimeo.com/31153808

CQRS and Event Sourcing with NCQRS
http://www.nicholascloud.com/2011/09/cqrs-and-event-sourcing-with-ncqrs/

CQRS, race conditions, and sagas – oh my!
http://skillsmatter.com/podcast/open-source-dot-net/udi-dahan-cqrs-race-conditions-and-sagas

CQRS, not just for server systems
http://skillsmatter.com/podcast/design-architecture/cqrs-not-just-for-server-systems
CQRS is of great use for building things other than server side systems as most people tend to use it for. In this talk, Greg Young will look at the use of CQRS in other kinds of systems and how it can greatly decrease complexity while providing value to users of the system.

Simple is better
http://skillsmatter.com/podcast/design-architecture/simple-is-better/
Very often we take on huge couplings in order to get value. This coupling forces us to build software in certain ways that may or may not be good for us at the time. In this talk, Greg Young looks at some common real world examples of these problems — and, more importantly, how to avoid them

CQRS, CQS y Event Messaging
http://www.altnethispano.org/wiki/van-2010-10-02-cqrs-cqs-event-messaging.ashx
by @cprieto

Abstraction Demo Videos http://abstractiondev.wordpress.com
http://www.youtube.com/playlist?p=PLB3366B17004D5DB9

Unleash your Domain
http://vimeo.com/13852695

Command Query Responsibility Segregation
http://skillsmatter.com/podcast/open-source-dot-net/udi-dahan-command-query-responsibility-segregation/rl-311
London .NET User Group:Command Query Responsibility Segregation

NServiceBus Architectural Principles
http://www.nservicebus.com/ArchitecturalPrinciples.aspx

Erik Rozendaal of Holland talking about CQRS and Event Sourcing
http://cqrs.wordpress.com/2010/09/13/video-presentation/

Distributed Podcast
http://distributedpodcast.com/
CQRS, DDD, Cloud computing and much more!

Command-Query Responsibility Segregation
http://www.infoq.com/presentations/Command-Query-Responsibility-Segregation

Recording of Mark Nijhof on CQRS @ E-VAN 18 November 2009
http://europevan.blogspot.com/2009/11/recording-of-mark-nijhof-on-cqrs-e-van.html

Mark Nijhof on CQRS Sample @ E-VAN 18 November 2009
http://vimeo.com/7838858

A Discussion with Allard Buijze on CQRS with the Axon framework
http://www.infoq.com/articles/cqrs_with_axon_framework

CQRS and Friends: possibly distributed systems, intentionally.
http://www.altnethispano.org/wiki/van-2011-02-19-cqrs.ashx
by @silverspoon

My Links
http://delicious.com/ajlopez/cqrs+video
http://delicious.com/ajlopez/cqrs+podcast

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez