架构体系模式 cqrs4j

码农软件 · 软件分类 · 其他开发相关 · 2019-10-30 09:28:08

软件介绍

命令查询的责任分离Command Query Responsibility Segregation (简称CQRS)模式是一种架构体系模式,能够使改变模型的状态的命令和模型状态的查询实现分离。

如果喜欢DDD领域驱动设计的朋友相信会很熟悉责任分离这个概念。现在spring把它具体框架化了,这个理念应该推广。当然纯数据库开发的朋友估计不会喜欢了。

CQRS架构如下图:

导言
CQRS

命令查询的责任分离是一种架构模式,使得命令处理之间的明确区分,讲一个应用程序做什么和查询执行,它负责在应用程序状态的洞察力。完成状态改变异步,事件触发。

一个很好的介绍文章CQRS。
cqrs4j
当一个应用程序CQRS建筑风格,你会发现,你的代码更涉及管道-代码必要只是为了赚取,调度和处理事件。该cqrs4j框架支持的管道,需要建立这种架构布线的开发。

视觉
在cqrs4j框架应支持运用CQRS原则和实施最严格的方式实现构件的开发。该框架将可为这些构件在可能情况下实现,但绝不会要求开发商在使用它们。

本文地址:https://codercto.com/soft/d/17874.html

AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and

AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and

George F. Luger、William A Stubblefield / Addison Wesley / 2008-09-04 / USD 22.20

This book is designed for three primary purposes. The first is as a programming language component of a general class in Artificial Intelligence. From this viewpoint, the authors see as essential that......一起来看看 《AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and 》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

URL 编码/解码
URL 编码/解码

URL 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具