redux-java
redux-java copied to clipboard
Motivation
What would be a motivation for such project? Which usecase would it address for someone? At the moment I can only think of Android clients that could potentially use this.
Would be nice to see such a motivation statement in readme file with explanation.
Thanks for awesome work.
Im actually searching for living proof, that redux is applicable to backend development in java. So far this looks to be single (first?) attempt.
I'm not familiar with data structures and scopes in java but i have a feeling, that they are more suitable for redux than javascript.
What are your ideas, why did you started this?
A good use-case is JavaFX desktop UIs. You can see an example application using this library here: https://github.com/lestard/redux-javafx-devtool/tree/master/example-apps/redux-java
It is part of a Developer-Tool for JavaFX inspired by the redux-dev-tool: https://github.com/lestard/redux-javafx-devtool
I think that people, in general, associate redux with react hence some UI app. the way that I see it is that redux is a great implementation of several design patterns/techniques (Command, map-reduce, event-sourcing, factory) to achieve a system that is stateful. When would I use that? Say that you need to implement a stateful backend, like the ones used in online videogames, then you could implement it using the Actor-model paradigm (like the Orleans Actor-model) but you could also do it using redux. It would require something tricky that is keeping the state consistent across the host that execute the reducers (in the backend) but if eventual-consistency is ok for the consumers then it should be doable.
I cannot find license anywhere. Can you help me with that?
@kidsmart I added a lincense https://github.com/glung/redux-java/commit/a659824bede9577690ec289206cecffbdf89a6f6