This example refreshes once per second the data from an external datasource.
Note: this example works only when running it on a PHP server, as the datasource is a php file.