sleroy / spring-cqrs-arch

Extension for the Spring framework using CQRS principles. It's useful to implement quickly an webapp.
https://www.sylvainleroy.com
Apache License 2.0
26 stars 12 forks source link

spring-cqrs-arch

Download

Coverage Status

Build Status Codacy Badge

WIKI and Documentation

Documentation is there : https://sleroy.github.io/spring-cqrs-arch/

Changelog is there : https://sleroy.github.io/spring-cqrs-arch/changelog

For a quickstart, have a look on the page : https://sleroy.github.io/spring-cqrs-arch/quickstart

Purpose

This module is an implementation of a software architecture model inspired from the CQRS ( link from Fowler ) model.

CQRS Architecture

The idea is the following : the software functionalities are split between the read and the write accesses made by the user.

Advantages

The strongest advantages of this architecture are - according my experience - :

Cleancode

Some bad smells often found in Spring / Java Web applications are avoided with this model.

By instance :

Implementation model for an web application using CQRS principles.

Scope

This module is offering basically the Command architecture principles, and a way to send events.

For the query part, I recommend a progressive approach :

Module architecture design

Credits and thanks here : Wiki