Académique Documents
Professionnel Documents
Culture Documents
experience innovation
www.effectiveui.com
Watson
Source - http://www.jamesward.org/wordpress/2007/12/12/blazebench-why-
you-want-amf-and-blazeds/
Search Broad, Filter Narrow
How To Best Filter?
Source - http://www.craftymind.com/2007/02/11/find-as-you-type-sorting-on-large-
record-sets
The Code
public static function applyFilter(list:ArrayCollection, term:String,
fullIndexString:String):ArrayCollection
{
var output:ArrayCollection = new ArrayCollection();
var i:Number = 0;
var pos:Number = 0;
var index:int = 0;
var count:int = 0;
while(i > -1)
{
pos = fullIndexString.indexOf(term, i);
if(pos > -1){
HierarchyBrowser
The browser component
You supply the HierarchicalDataVO object:
public class HierarchicalDataVO
{
public var entries:Array; // <ArrayCollection>
public var labels:Array; //Strings with the labels for each
public var indexStringUpperCase:String; // <String>
public var indexStringLowerCase:String;
public var md5Hash:String;
}
Components supplies filtering and single selection, no multiple
selection yet.
Fastest browsing method we could come up with
Lessons learned from Watson