1
00:00:00,600 --> 00:00:03,470
Hello and welcome to this lecture.

2
00:00:03,810 --> 00:00:11,730
In this lecture hall will be looking at an illustration of how Ajax works.

3
00:00:12,030 --> 00:00:13,400
So let's begin.

4
00:00:13,410 --> 00:00:16,260
So this you begin with your web browser.

5
00:00:16,290 --> 00:00:24,790
See you on your Web browser at an event occurs and event is any theme that happens on the web browser.

6
00:00:24,960 --> 00:00:36,360
For example a mouse click or a button click we use submit a form or those are referred to as an event.

7
00:00:36,450 --> 00:00:39,620
So it begins the Ajax process begins.

8
00:00:39,620 --> 00:00:47,790
We have the Web browser making a request using the exim Mail he's TTP requests objet.

9
00:00:47,850 --> 00:00:56,730
So once the event occurs like for example click click mouse or something and exim Mail TTP request object

10
00:00:56,820 --> 00:00:58,490
is created.

11
00:00:58,830 --> 00:01:10,440
So once that is created you don't sense the request to the server over the Internet what the server

12
00:01:10,480 --> 00:01:22,920
den does this say about process this the hasty TTP request creates a response and then sends data back

13
00:01:23,520 --> 00:01:31,320
to the browser all by the Internet and then javascript now picks up the data that's been returned by

14
00:01:31,320 --> 00:01:33,980
the server and then processing.

15
00:01:33,980 --> 00:01:38,370
For example we could be updating parts of the web page.

16
00:01:38,580 --> 00:01:49,380
So jam a script is used to process the data that has been returned by the web server it does where does

17
00:01:49,520 --> 00:01:49,720
it.

18
00:01:49,740 --> 00:01:54,780
We can update the Web page or whatever they request.

19
00:01:54,780 --> 00:01:56,970
Depends on the type of request.

20
00:01:57,120 --> 00:02:03,900
Jabaar script will process the returned response from the server.

21
00:02:03,900 --> 00:02:05,950
So we'll have a date and a web server as passed.

22
00:02:05,970 --> 00:02:16,230
But jemas group uses that to update the Web page or website so javascript plays a key role here because

23
00:02:16,290 --> 00:02:25,200
Ajax uses javascript to send requests to the web server and also uses javascript to receive irresponsive

24
00:02:25,420 --> 00:02:33,380
back and then does some piece with the data has been returned by the web server.

25
00:02:33,540 --> 00:02:41,640
All this process is done behind the scene so it would be web browser that still functions normally doesn't

26
00:02:42,060 --> 00:02:49,050
stop and wait for this server to return the response it carries on doing was his doing.

27
00:02:49,260 --> 00:02:53,400
And when this server as ready passes back the response.

28
00:02:53,410 --> 00:02:56,080
The Javascript just of dates.

29
00:02:56,220 --> 00:03:00,810
The web page with the data the web server has returned.

30
00:03:00,810 --> 00:03:08,100
So this is just a quick illustration of how the whole Ajax process works.

31
00:03:08,100 --> 00:03:14,690
The key thing is to take away from this election is the request and the response.

32
00:03:14,850 --> 00:03:25,440
So every Ajax process involves a request and also a response the client or the web browser makes the

33
00:03:25,440 --> 00:03:36,870
request by creating an Excel mail his TTP request object and then sends that request to the web server

34
00:03:37,710 --> 00:03:46,590
the web server creates serious bonce for the request and sends it back to the web browser.

35
00:03:46,620 --> 00:03:54,160
They jab us script then processes that data and Hobb dates parts of the web page.

36
00:03:54,230 --> 00:03:59,250
It wants to relate into the data it has requested for.

37
00:03:59,580 --> 00:04:07,230
So request and response had to keep things a happens in an AJAX process.

38
00:04:07,320 --> 00:04:12,980
The tool that does the heavy lifting heavy lifting is the x amount.

39
00:04:13,000 --> 00:04:16,410
He's TTP request object.

40
00:04:16,920 --> 00:04:19,530
Thank you so much for your time.
