Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agoose77/pysam
State-Action-Model demo in Python
https://github.com/agoose77/pysam
reactive-front-end reactiveui sam state-action-model ui-pattern web
Last synced: 8 days ago
JSON representation
State-Action-Model demo in Python
- Host: GitHub
- URL: https://github.com/agoose77/pysam
- Owner: agoose77
- Created: 2018-06-21T10:12:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-21T11:16:19.000Z (over 6 years ago)
- Last Synced: 2024-10-10T22:21:04.919Z (about 1 month ago)
- Topics: reactive-front-end, reactiveui, sam, state-action-model, ui-pattern, web
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pysam
State-Action-Model demo in Python. Based upon http://sam.js.org/## server_side
A server side demonstration of SAM, where the client provides the actions (those which are not used by the next-action-predicate (nap)), and the server provides the View, Model, and State.
Websockets are used to communicate between the server and client, and to maintain the global state (model) for each client. View updates are returned to the client, and rendered to a `div`.Run `python3 app.py`, and navigate to http://localhost:5000/ to try the demo.