Skip to content

Commit

Permalink
Rewrite features
Browse files Browse the repository at this point in the history
  • Loading branch information
kjirou committed Dec 2, 2016
1 parent d36f9be commit 1e610c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
13 changes: 5 additions & 8 deletions README.ja.md
Expand Up @@ -8,14 +8,11 @@ README: ( [English](/README.md) | [日本語](/README.ja.md) )
乱雑なイベントの発火をキューで管理し、ビジネスロジックを定型的に書くためのモジュール


## このモジュールの目的
- ビジネスロジック(例えば、Flux の ActionCreator のような)を定型的に書きたい
- これは、多くのウェブ・フレームワークのように、ビジネスロジックを記述するための一定の書式を設けることで解決する
- そのために、複数のビジネスロジックが同時に実行されることを抑止するのも必要だと思った
- 同じ変数に対し複数の処理が同時に参照・更新を行う可能性がある場合、データの整合性を担保するのが非常に難しい。
この一点の担保でビジネスロジック部分を書く際の難易度が大きく下がる。
- これは、イベントをキュー管理することによって解決する
- CUI/CLIアプリでも使えるようにする
## このモジュールの特徴
- ビジネスロジックを記述するための枠組みを提供する。
- ひとつのビジネスロジックをトランザクション処理として実行できるようにする。
- ビジネスロジックの実行をキューイングする。
- CUI・CLIアプリでも使える。


## インストール方法
Expand Down
10 changes: 4 additions & 6 deletions README.md
Expand Up @@ -8,12 +8,10 @@ README: ( [English](/README.md) | [日本語](/README.ja.md) )
Queue the emitting of disorderly events and write business logics routinely


## Purpose of this module
- Define business logic (such as ActionCreator) routinely.
- This is solved by providing a format to describe to business logic like most of web frameworks.
- Therefore, it prevents simultaneous execution of multiple business logic.
- It is very difficult to maintain consistency of data when multiple processes reference / update the same variable.
- This is solved by queuing events.
## Features
- Provide a framework for describing business logics.
- Allow one business logic to execute as transaction processing.
- Queue the execution of business logics.
- Make it available for CUI / CLI applications.


Expand Down

0 comments on commit 1e610c4

Please sign in to comment.