https://github.com/crowdhailer/hangman
Investigation of client app architectures.
https://github.com/crowdhailer/hangman
Last synced: 10 months ago
JSON representation
Investigation of client app architectures.
- Host: GitHub
- URL: https://github.com/crowdhailer/hangman
- Owner: CrowdHailer
- Created: 2016-07-06T23:10:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-17T10:27:23.000Z (over 9 years ago)
- Last Synced: 2025-02-07T19:44:53.292Z (11 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hangman
Investigation of client app architectures.
## Aims
This repository is turning into an exploration of separating side-effects from domain logic in client side apps.
I have previously 'solved' this problem when the user is separated from the domain by a rest interface.
The complexities of data flow between ui and domain are alot more interesting in a single application.
### Current thoughts.
- Having the domain define port interfaces that are implemented using adapters.
- Having the domain model be stateless and have the infrastructure code manage the current version of the state.
- Having the domain model manage state and communication between ui, domain and services be event driven. vaguly emulating actors and message passing.
http://radar.oreilly.com/2014/03/javascript-without-the-this.html