A couple of minutes ago I was talking to a friend of mine and I realised that what AJAX stands for, what it means, it represents is not clear for some people.
AJAX is a group of interrelated technologies to create asynchronous web experience on the client side.
With the AJAX methodology you can send and receive data from a server asynchronously without interfering with the current web page, without affecting display and behavior of it. (without postback)
Ajax is a GROUP of technologies:
CSS, HTML: Provide markup and styling.
JSON: Serialization method. Serialize the data generated on the server side before sending it to the client.
Web Services: Generate the data on the server side in response to some client-side trigger (event).
Below is the way AJAX works.
- Event is triggered on the client side.
- An XMLHttpRequest object is created.
- HttpRequest is sent.
- Server code executed & HttpRequest is processed.
- Response is generated and sent back to browser.
This is the graphical representation of the above workflow:
Hope this helps someone.