zk-and-rx"
From Documentation
Robertwenzel (talk | contribs) |
Robertwenzel (talk | contribs) |
||
Line 15: | Line 15: | ||
== The UI (ZK MVVM application) == | == The UI (ZK MVVM application) == | ||
− | * | + | * render robots as divs + dynamic styles reacting on robot status (position, mood) |
− | |||
== The Magic in the Middle == | == The Magic in the Middle == |
Revision as of 04:50, 20 September 2017
Author
Robert Wenzel, Engineer, Potix Corporation
Robert Wenzel, Engineer, Potix Corporation
Date
September, 2017
September, 2017
Version
ZK 8.5
ZK 8.5
Introduction
The Backend (RX Observable)
Hot Observable
- constantly streams events, at short intervals (but unreliable maybe skipping information)
- allows multiple consumers
The UI (ZK MVVM application)
- render robots as divs + dynamic styles reacting on robot status (position, mood)
The Magic in the Middle
Summary
Example Sources
The code examples are available on github in the zk-rxdemo repository
Running the Example
Clone the repo
git clone git@github.com:zkoss-demo/zk-rxdemo.git
The example war file can be built using the gradle-wrapper (on windows simply omit the prefix './'):
./gradlew war
Execute using jetty-runner (fastest):
./gradlew startJettyRunner
Execute using gretty:
./gradlew appRun
Then access the example http://localhost:8080/zk-rxdemo CHECK LINK
Comments
Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License. |