Characteristics of Rich Internet Application (RIA)

**Asynchronous JavaScript and XML (**AJAX)

It is a technique for creating interactive web applications by combining existing web technologies like JavaScript, the Document Object Model (DOM), and the XMLHttpRequest (or the newer fetch()) object.

The key idea is that it allows web pages to send and retrieve small amounts of data from the server asynchronously (in the background) without interfering with the display and behavior of the existing page. This means only small portions of the page need to be updated, resulting in a much faster and more desktop-like user experience.

Features of AJAX

  1. Standard-based presentation: Uses HTML/XHTML and CSS for marking up and styling the information.
  2. Dynamic display and interaction: Leverages the Document Object Model (DOM) to dynamically change and interact with the presented content without a full page reload.
  3. Data interchange and manipulation: Facilitates the exchange of data with the server, historically using XML, but now more commonly using JSON, HTML, or plain text.
  4. Asynchronous retrieval: Uses the XMLHttpRequest object (or similar modern APIs) to communicate with the server in the background, allowing the user to continue interacting with the page.
  5. JavaScript functionality: JavaScript is the glue that binds all these technologies together, initiates the requests, and dynamically updates the page content.

Classical Web Application Model