Courtney SilvaOctober 29, 2015 at 5:44 pm #849
How does SPARK provide superior performance?SPARK SupportOctober 29, 2015 at 5:48 pm #850
IBM BPM Controls have a lot of overhead. They have to load a bunch of external libraries when being used, and thus there is a lot of overhead. SPARK controls are not dependent on external libraries, and are thus much cheaper to render.
The SPARK table implementation isn’t part of an external library. It was specifically designed and developed to work with how Coach NG data works – and is therefore optimized for it. For example bi-directional referencing exists between table rows and data records which makes change, append, and delete operations extremely fast. Other optimizations for selection handling, sorting, paging, and filtering exist which are specifically designed to exploit the structure and features of Coach NG data. Thus providing much better performance than a generic table UI component with no such optimizations.
The SPARK Service Data Table control is designed in a similar way (Table and Service Data Table actually share the same code base), except that it uses AJAX Services to retrieve data instead of relying on a Coach NG Human Service data binding. Server-side paging with the Service Data Table control is also very straightforward since the developer can easily feed the query input data (including for example a page size, an offset, and a sort criteria) to the AJAX service backing the table (through the setQueryData() method) – thus supporting a full server-side paging approach.
Lastly, the appendElement() method of the SPARK Table control can allow true data “streaming” behavior where data can be rendered over time as it becomes available (again without blocking behavior).
You must be logged in to reply to this topic.