https://github.com/perty/elmish-java
Just trying to see how an Elm programmer would do a service in Java.
https://github.com/perty/elmish-java
Last synced: 4 months ago
JSON representation
Just trying to see how an Elm programmer would do a service in Java.
- Host: GitHub
- URL: https://github.com/perty/elmish-java
- Owner: perty
- Created: 2020-11-08T14:41:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-20T21:57:15.000Z (about 3 years ago)
- Last Synced: 2025-01-18T18:40:44.894Z (5 months ago)
- Language: Java
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Elmish Java
If I would do TEA in Java, what would it be like?
The idea is a service that can get messages from outside.
The messages are taken to the update method which spits out a command
and a new version of the state. A command will be a function, I guess.
Learning about TEA by doing this.To see the state, one must query the view which will return the state.
For efficiency reasons, the view can return a subset of the state. Maybe we
shall use graphql here.Messages are queued.