-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5203fe
commit cbca047
Showing
20 changed files
with
10 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
# API References | ||
|
||
------------------------------------------------------------------------- | ||
Sorry, this article isn't finished yet :( | ||
|
||
We'll glad to see all your questions: | ||
* [**GitHub Issues**](https://github.com/reimagined/resolve/issues) | ||
* [**Twitter**](https://twitter.com/resolvejs) | ||
* e-mail to **[email protected]** | ||
------------------------------------------------------------------------- | ||
|
||
## 📑 **Table Of Contents** | ||
* [Available Scripts](#-available-scripts) | ||
* [Project Structure Overview](#️-project-structure-overview) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
# Aggregate | ||
|
||
------------------------------------------------------------------------- | ||
Sorry, this article isn't finished yet :( | ||
|
||
We'll glad to see all your questions: | ||
* [**GitHub Issues**](https://github.com/reimagined/resolve/issues) | ||
* [**Twitter**](https://twitter.com/resolvejs) | ||
* e-mail to **[email protected]** | ||
------------------------------------------------------------------------- | ||
|
||
When you need to change the system's state, you send a Command. A command is addressed to a Domain Aggregate. An Aggregate is a cluster of logically related objects, containing enough information to perform a command as one transaction. It handles a command, checks whether it can be executed and generates an event to change the system's state. A new event is sent to Event Store. | ||
Refer to [DDD_Aggregates](https://martinfowler.com/bliki/DDD_Aggregate.html) or [DDD, Event Sourcing, and CQRS Tutorial: design](http://cqrs.nu/tutorial/cs/01-design) for more information on aggregates. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
# Architecture | ||
|
||
------------------------------------------------------------------------- | ||
Sorry, this article isn't finished yet :( | ||
|
||
We'll glad to see all your questions: | ||
* [**GitHub Issues**](https://github.com/reimagined/resolve/issues) | ||
* [**Twitter**](https://twitter.com/resolvejs) | ||
* e-mail to **[email protected]** | ||
------------------------------------------------------------------------- | ||
|
||
![CQRS schema](https://user-images.githubusercontent.com/15689049/30436232-4932f952-9974-11e7-8e3d-575cc5de407e.png) | ||
_*This scheme is based on the "CQRS with Event Sourcing" image from the [Event Sourcing for Functional Programmers](http://danielwestheide.com/talks/flatmap2013/slides/#/) presentation.*_ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,4 @@ | ||
# Command | ||
|
||
------------------------------------------------------------------------- | ||
Sorry, this article isn't finished yet :( | ||
|
||
We'll glad to see all your questions: | ||
* [**GitHub Issues**](https://github.com/reimagined/resolve/issues) | ||
* [**Twitter**](https://twitter.com/resolvejs) | ||
* e-mail to **[email protected]** | ||
------------------------------------------------------------------------- | ||
|
||
When you need to change the system's state, you send a Command. A command is addressed to a Domain Aggregate. An Aggregate is a cluster of logically related objects, containing enough information to perform a command as one transaction. It handles a command, checks whether it can be executed and generates an event to change the system's state. A new event is sent to Event Store. | ||
Refer to [DDD_Aggregates](https://martinfowler.com/bliki/DDD_Aggregate.html) or [DDD, Event Sourcing, and CQRS Tutorial: design](http://cqrs.nu/tutorial/cs/01-design) for more information on aggregates. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
# Contributors Guide | ||
|
||
------------------------------------------------------------------------- | ||
Sorry, this article isn't finished yet :( | ||
|
||
We'll glad to see all your questions: | ||
* [**GitHub Issues**](https://github.com/reimagined/resolve/issues) | ||
* [**Twitter**](https://twitter.com/resolvejs) | ||
* e-mail to **[email protected]** | ||
------------------------------------------------------------------------- | ||
|
||
:+1::tada: First off, thanks for taking the time to contribute! :tada::+1: | ||
|
||
The following is a set of guidelines for contributing to Resolve and its packages, which are hosted in the [Reimagined](https://github.com/reimagined) on GitHub. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
# Event Store | ||
|
||
------------------------------------------------------------------------- | ||
Sorry, this article isn't finished yet :( | ||
|
||
We'll glad to see all your questions: | ||
* [**GitHub Issues**](https://github.com/reimagined/resolve/issues) | ||
* [**Twitter**](https://twitter.com/resolvejs) | ||
* e-mail to **[email protected]** | ||
------------------------------------------------------------------------- | ||
|
||
The Event Store stores all events aggregates produce and delivers them to subscribers. It combines a persistent storage and message bus. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
# Packages | ||
|
||
------------------------------------------------------------------------- | ||
Sorry, this article isn't finished yet :( | ||
|
||
We'll glad to see all your questions: | ||
* [**GitHub Issues**](https://github.com/reimagined/resolve/issues) | ||
* [**Twitter**](https://twitter.com/resolvejs) | ||
* e-mail to **[email protected]** | ||
------------------------------------------------------------------------- | ||
|
||
reSolve includes the following libraries which can be used independently or simultaneously. | ||
|
||
App generator libraries: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
# Projection | ||
|
||
------------------------------------------------------------------------- | ||
Sorry, this article isn't finished yet :( | ||
|
||
We'll glad to see all your questions: | ||
* [**GitHub Issues**](https://github.com/reimagined/resolve/issues) | ||
* [**Twitter**](https://twitter.com/resolvejs) | ||
* e-mail to **[email protected]** | ||
------------------------------------------------------------------------- | ||
|
||
See [Event Sourcing - Projections](https://abdullin.com/post/event-sourcing-projections/) or [DDD, Event Sourcing, and CQRS Tutorial: read models](http://cqrs.nu/tutorial/cs/03-read-models) for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
# Query | ||
|
||
------------------------------------------------------------------------- | ||
Sorry, this article isn't finished yet :( | ||
|
||
We'll glad to see all your questions: | ||
* [**GitHub Issues**](https://github.com/reimagined/resolve/issues) | ||
* [**Twitter**](https://twitter.com/resolvejs) | ||
* e-mail to **[email protected]** | ||
------------------------------------------------------------------------- | ||
|
||
Queries are used to get data from a read model and view model. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
# Read Model | ||
|
||
------------------------------------------------------------------------- | ||
Sorry, this article isn't finished yet :( | ||
|
||
We'll glad to see all your questions: | ||
* [**GitHub Issues**](https://github.com/reimagined/resolve/issues) | ||
* [**Twitter**](https://twitter.com/resolvejs) | ||
* e-mail to **[email protected]** | ||
------------------------------------------------------------------------- | ||
|
||
The Read Model represents a system state or its part. It is built using Projection functions. All events from the beginning of time are applied to a read model to build its current state. | ||
|
||
![image](https://user-images.githubusercontent.com/14352827/37778246-7de6ed1e-2dfa-11e8-8857-b1519e598f14.png) | ||
|
Oops, something went wrong.