ZK Huge Grouping Model"

From Documentation
m
Line 9: Line 9:
 
=Introduction=
 
=Introduction=
  
==About this article==
+
bla bla you have some big data... how to display
  
==Environment==
+
article already handles display big data in a flat list
* JDK 6/7
+
http://books.zkoss.org/wiki/Small_Talks/2009/July/Handling_huge_data_using_ZK
* ZK 6.5.3
+
 
* Maven 3.0
+
 
 +
=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)
  
 
=Steps=
 
=Steps=

Revision as of 09:11, 1 August 2013

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)

Steps

Initialize your environment for this example

Initial Situation

Appendix

Download

selenium-IDE-example.zip

Comments



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