My First AJAX Application
by Alistair Miles
I’ve just written my first AJAX (Asynchronous Java and XML) application, see the Claddier Discovery Service (try searching for ‘cloud’ or ‘atmosphere’). This application interrogates an OAI-PMH provider for metadata about papers and datasets harvested from CCLRC’s ePubs archive and the BADC’s data archive.
Controller.searchAll() is invoked. This changes the ‘model’ variable by calling
model.setProperty(Model.PROP_RESULTS, results), which then causes the view to be updated via the static method
View.updateResults(). The static methods of the View object really only provide convenience layer above manipulations on the actual DOM document being viewed.