2. What is AJAX?
Before “Asynchronous
JavaScript And XML.”
After “Any technique that
allows the client to retrieve
more data from the server
without reloading the whole
page.”
3. A programming language – no…
A new technology – not exactly…
So what else ?
So what is it ?
Ajax is the process of Using JavaScript to make a request to the server.
Using the results of that request to dynamically modify the page the user
is currently viewing .This request is not a full page load that moves the
user to a new URL.
4.
5. The Upside
Ajax can improve the user experience.
When used right, it sometimes makes Web applications feel
a bit more like desktop applications (think Gmail).
It is generally faster
A full page load is expensive: full HTML, CSS, JavaScript files,
and typically several images
Ajax requests usually load a lot less
6. Many Downsides
Ajax interactions are usually much harder to debug.
Everything happens in the background, so it’s hard to see
things go wrong.
If not planned Ajax actions can easily degrade the interface
experience instead of enhancing it.
7. Order of Developments
In 1996 Internet Explorer introduces the concept of ‘Iframe’
element.
In the year 1998, Microsoft introduces another technique, called
‘Microsoft’s Remote Scripting’ as a replacement to the older
techniques.
A year later, in 1999, Microsoft introduces the XMLHttpRequest
object, an ActiveX control, in IE 5.
In 2005, Jesse James Garret first tossed the term AJAX in a short
essay after Google released its Maps Application.
8. Searching for a location on Google Maps.
Let us see some applications of it…..
9. Now even we pinch in or pinch out does the page reloads?
10. Have you seen how Google Search
Bar behaves ?
Or how Facebook works ?