ZK Huge Grouping Model

From Documentation
ZK Huge Grouping Model

Author
Robert Wenzel, Engineer, Potix Corporation
Date
August, 2013
Version
ZK 6.5 (or later)

WarningTriangle-32x32.png This page is under construction, so we cannot guarantee the accuracy of the content!

Introduction

bla bla you have some big data... how to display

article already handles display big data in a flat list http://books.zkoss.org/wiki/Small_Talks/2009/July/Handling_huge_data_using_ZK


The challenge

grouping is a powerful feature in ZK but also adds an extra layer of complexity

paging and grouping challenges

1. groups can be open or closed (also interactively) -> the number of pages changes, when opening/closing nodes... (needs efficient counting, and state keeping)

2. groups can have arbitrary number of children -> random access to a specific page ... how to know the current group and position inside the group --> implement a scalable search

1. + 2. combining both in an efficient, memory preserving way limitations... needs to store the state in memory (humans are limited, so one is unlikely to toggle 100+ groups)

Implementation

Generating the Test data

Counting & State keeping

Initial Situation

Appendix

Download

selenium-IDE-example.zip

Comments



Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.