Flux/CQRS patterns for JavaScript application.
Write code thinking :)
Why?
Now, We can implement web application with Flux or Redux etc...
But, I often hear the story that is "Control flow of Flux/Redux is cool, but where to implement domain logic."
I think that the people skip to Flux/Redux from MV* pattern.
MV* --> ( HOLE ) --> Flux/Redux(CQRS+EventSourcing)
Almin.js aim to fill the HOLE between MV* and Flux/Redux.
Feature
Almin provide some pattern, is not framework.
- Testable
- Scalable
- Responsibility Layers patten - well-known as DDD(Domain-Driven Design)/CQRS
Almin is a implementation of Read/Write Stack Architecture that is well-known as Flux/CQRS.
Installation
npm install almin
You'll also need a Promise polyfill for older browsers.
npm install es6-promise
Usage
:memo: Please See Documents of Almin.
Example
Running Tests
Running Tests in Node.js
npm test
Running Tests in Browser
npm run test:browser
Running Tests in Sauce Labs
# Need "~/.zuulrc" for using Sauce Labs
npm run test:saucelabs
Building Docs
npm run build:docs
# preview
npm run start:docs
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT