Appboard/2.4/builder/filtering

Revision as of 09:23, 3 February 2014 by imported>Jason.nicholls (→‎Data Filters)


AppBoard features a common concept throughout the product around filters and filtering. These are configured to reduce down data collections, to drive indicators in visualizations, and for controlling which click-actions are fired:

  • Data Filters:
    • Server Side Filters (SSF): reduce the size of a data collection on the server side, i.e. client received only the reduced set of data. Server side filters are also used to drive SHIM query parameters.
    • Client Side Filters (CSF): performed on the client to reduce the size of a data collection. The full data collection is received by the client from the server.
  • Visualization Filters:
    • Icon: determine icon to display based on filter conditions
    • Status Shape: determine status shape to display based on filter conditions
    • Color: determine color to show based on filter conditions
    • Colored Shape: combination color and status shape filter
    • Widget Options Filter or Quick Filter: either an Icon or Colored Shape filter that adds a button bar to the bottom of a widget to allow for quick filtering by the end-user.
  • Action Filter: determines whether an action should be triggered based on what was clicked by the end-user.
Example visual filters: icon, colored shape, and colored shape quick filter


Data Filters

Both Server Sider Filters and Client Side Filters can be configured as part of a Data Collection configuration, and set using widget actions. Both SSFs and CSFs can be used at the same time. If a data collection is configured with a SSF or CSF, and a widget action then sets a new SSF or CSF, this will replace the configured filter.

Why server-side vs client-side? By performing filtering on the server the total data sent to the client can be reduced. This is especially useful if only a fraction of the total data collection is ever to be seen at one time. SSFs are also required if using SHIM query parameters.

Why client-side vs server-side? Filtering on the client side saves a round-trip to the server and time to transfer the response, so for smaller datasets where a lot of interactivity is expected then client side filtering can offer a better/faster response to the end-user. Client side filters also offer an additional rule type allowing regular expression matches.

Ultimately the decision for server or client side filtering will depend on the circumstance covering the size of the data and how an end-user is going to be interacting with that data.

Data Collection configuration vs via action? Typically if a filter is configured as part of a data collection configuration then this represents the default set of data that should be visible. When SSFs or CSFs are set via widget action it's typically to further filter based in the context of something the end-user has clicked on. Whether this is to drill-down to another board, or simply updated widgets already on the screen.

For more information please refer to:

Visualization Filters