Requests

In this demo application we'll use two previous loaded functions get and post, to show how simple is to use Clean to perform AJAX requests.

The application enables us to select a planet and view some information about it. It is possible to submit a birth date to calculate an age on a planet, based on the time spent by the planet to perform one rotation about the Sun.

Lets go to:

Earth

Revolution about Sun: 1 year

Rotation about axis: 24 hours

Temperature: -89C ~ 58C

 

This sample application uses the history feature provided by the Clean AJAX to cache message result, so if we hit back and forward buttons we will see that the results are restored from the cache. This behavior is controlled by the Message cache attribute.

We can also observe the progress bar displayed every time we send a new message. This behavior is controlled by the Message silent attribute.

 

 

Requests

Transformation

Web Service Access

Message onChange

Message onComplete

Polling

Download Samples

 

SourceForge.net

 

Copyright © 2014 Carlos Eduardo Gonçalves