1. Introduction

AJAX (Asynchronous Javascript And Xml) is is a web development technique for creating interactive web applications. The intent is to make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire web page does not have to be reloaded each time the user requests a change. This is meant to increase the web page's interactivity, speed, and usability.

AJAX is supported by Aida in a way, as closer to Smalltalk programming as possible. You don't need to deal with any Javascript code to ajaxify your web applications.

Main features of Ajax support in Aida are:

  • update of any web element on a page after some event, like click on some other element
  • immediate post (send to a server) of input fields and other form elements after change
  • immediate post (send to a server) of input fields and other form elements after change
  • periodic update of any web element
  • Ajax components:
    • o Autocomplete field
    • o In-place editing field

1.1. Example of Ajax updating Let we start directly with a simple example. See demo site http://demo.aidaweb.si/demos.html?view=ajax, Example 1:

Code for above example looks as simple as that: WebDemo >> ajaxUpdateTimeExample ...

2. Update an element

WebElement events-ajax:

  • onClickUpdate: anElementOrId
    • o update (and show if not yet) a specified element from server
  • onClickUpdate: anElementOrId with: aParmString
    • o update a specified element from server with calling an element method ...

RECENT NEWS

  • 29/10/08 Natum commune no sea, no usu modus meliore omittam.

    Vel accommodare dissentias ex, ne pri praesent facilisis liberavisse, sed ea albucius delicata. Fugit conceptam definiebas cu mei, et dolore aperiam vituperata sed, dissentias vituperatoribus splendide has at ...

    read more

  • 29/10/08 Natum commune no sea, no usu modus meliore omittam.

    Vel accommodare dissentias ex, ne pri praesent facilisis liberavisse, sed ea albucius delicata. Fugit conceptam definiebas cu mei, et dolore aperiam vituperata sed, dissentias vituperatoribus splendide has at ...

    read more

SUBSCRIBE TO OUR MAILING LIST

  1. subscribe at lists.aidaweb.si/mailman/ listinfo/aida
  2. then send posts to aida@aidaweb.si
  3. archive is accessible on Nabble, Gmane, Google.