Light Ajax Refresh

Stable Version 2.0.1 (O9)
Also available for 8
Published on 09 September 2015 by 
Created on 08 March 2011
Details
An implementation pattern that shows how to periodically poll, via ajax, a page that return a JSON timestamp that inform the browser whether it should automatically refresh some part of the screen
Read More
An implementation pattern that shows how to periodically poll, via ajax, a page that return a JSON timestamp that inform the browser whether it should automatically refresh some part of the screen.
If the returned timestamp has changed, a button in the page is clicked to refresh an area using the platform's ajax mechanism.

Demo at: https://goo.gl/byI4N

Feature List
- Configurable polling period. Can follow a lazy phase down: by configuring 1,3,5,10 the browser will check after 1 second, then after 3, then after 5 and afterwards every 10 seconds.
- The refresher polls a very lightweight page that is only responsible for returning the MAX(UpdatedOn) for a given "Group" (business identifier if required). If the timestamp has not changed, the page is not refreshed
- The extension is only required to obtain Ticks (a long) from a DateTime. The Thread.Sleep is for demo purposes only.

Main Benefits
 - lightweight refresh. Only uses the "heavy" refresh when there is new data.


What’s new (2.0.1)
Upgraded to Platform 9; packaged as an App
Reviews (0)
Category
UI & Widgets
Tags
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Gonçalo Borrêga who created this component.
Dependencies
Light Ajax Refresh has no dependencies.
Requirements
Platform:
9.0.0.1
Database:
All
Stack:
.NET
Component Consumers
No consumers yet.
Weekly Downloads