zk-and-rx"

From Documentation
Line 14: Line 14:
  
 
== The UI (ZK MVVM application) ==
 
== The UI (ZK MVVM application) ==
 +
 +
* filter the events and display them in different intervals (100ms / 1000ms)
 +
*
  
 
== The Magic in the Middle ==
 
== The Magic in the Middle ==

Revision as of 10:55, 14 September 2017

Documentationobertwenzel
obertwenzel

Author
Robert Wenzel, Engineer, Potix Corporation
Date
September, 2017
Version
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)

  • filter the events and display them in different intervals (100ms / 1000ms)

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.