Hello and welcome to this lecture.
In this lecture hall will be looking at an illustration of how Ajax works.
So let's begin.
So this you begin with your web browser.
See you on your Web browser at an event occurs and event is any theme that happens on the web browser.
For example a mouse click or a button click we use submit a form or those are referred to as an event.
So it begins the Ajax process begins.
We have the Web browser making a request using the exim Mail he's TTP requests objet.
So once the event occurs like for example click click mouse or something and exim Mail TTP request object
is created.
So once that is created you don't sense the request to the server over the Internet what the server
den does this say about process this the hasty TTP request creates a response and then sends data back
to the browser all by the Internet and then javascript now picks up the data that's been returned by
the server and then processing.
For example we could be updating parts of the web page.
So jam a script is used to process the data that has been returned by the web server it does where does
it.
We can update the Web page or whatever they request.
Depends on the type of request.
Jabaar script will process the returned response from the server.
So we'll have a date and a web server as passed.
But jemas group uses that to update the Web page or website so javascript plays a key role here because
Ajax uses javascript to send requests to the web server and also uses javascript to receive irresponsive
back and then does some piece with the data has been returned by the web server.
All this process is done behind the scene so it would be web browser that still functions normally doesn't
stop and wait for this server to return the response it carries on doing was his doing.
And when this server as ready passes back the response.
The Javascript just of dates.
The web page with the data the web server has returned.
So this is just a quick illustration of how the whole Ajax process works.
The key thing is to take away from this election is the request and the response.
So every Ajax process involves a request and also a response the client or the web browser makes the
request by creating an Excel mail his TTP request object and then sends that request to the web server
the web server creates serious bonce for the request and sends it back to the web browser.
They jab us script then processes that data and Hobb dates parts of the web page.
It wants to relate into the data it has requested for.
So request and response had to keep things a happens in an AJAX process.
The tool that does the heavy lifting heavy lifting is the x amount.
He's TTP request object.
Thank you so much for your time.