1 00:00:00,630 --> 00:00:02,120 Hello and welcome. 2 00:00:02,250 --> 00:00:05,380 Thank you so much for your time today. 3 00:00:06,050 --> 00:00:12,380 In this lecture on Ajax you will learn what Ajax is. 4 00:00:12,510 --> 00:00:18,800 You learn the difference between TTP and hate. 5 00:00:18,810 --> 00:00:20,510 TTP Yes. 6 00:00:20,790 --> 00:00:26,930 You learn what an egg smell his T T P request object is. 7 00:00:27,330 --> 00:00:30,780 You'll learn how Ajax works. 8 00:00:30,930 --> 00:00:36,740 So I'll show you a basic illustration of how Ajax works. 9 00:00:36,840 --> 00:00:39,020 So what is Ajax. 10 00:00:39,120 --> 00:00:53,640 Ajax stands for synchronize javascript and SML Ajax allows you to date parts of a web page without reloading 11 00:00:53,910 --> 00:00:55,890 the entire page. 12 00:00:55,890 --> 00:00:57,220 So we do jacks. 13 00:00:57,330 --> 00:01:04,790 You can update certain parts of your web page without reloading the web page. 14 00:01:04,830 --> 00:01:14,450 The ability to make changes without reloading the web page is what is known as a synchronoss behaviour. 15 00:01:14,460 --> 00:01:15,860 So we pay jacks. 16 00:01:15,870 --> 00:01:26,880 You can exchange small amounts of data with a server behind the scene and make it seem less thus possible 17 00:01:26,880 --> 00:01:29,620 so all these is synchronous behaviour. 18 00:01:29,640 --> 00:01:35,180 Ajax allows changes to go on without reloading. 19 00:01:37,080 --> 00:01:43,360 An example of Ajax is the Google Google Suggest home page. 20 00:01:43,470 --> 00:01:52,400 So for example you are trying to type in a search Ajax For example let's see and try a typing chocolate. 21 00:01:52,470 --> 00:01:56,060 I go see all shop. 22 00:01:56,120 --> 00:01:58,780 All you see is me. 23 00:01:58,890 --> 00:02:00,870 Various suggestions here. 24 00:02:00,930 --> 00:02:06,540 This is done using AJAX So as I am typing it sends a message to the server. 25 00:02:06,750 --> 00:02:12,720 This server cons about and gives me a suggested list of items and printer type. 26 00:02:12,720 --> 00:02:16,280 He does all these without reloading the web. 27 00:02:17,910 --> 00:02:20,350 What is the difference between. 28 00:02:20,380 --> 00:02:23,010 Hey TTP and hey. 29 00:02:23,040 --> 00:02:30,910 T T P S hasted did P sounds for hypertext transfer protocol. 30 00:02:30,960 --> 00:02:41,400 It is a method of transporting information online between web browsers so they hated t.p without the 31 00:02:41,400 --> 00:02:48,540 s is not secured while the his T T P with the case is secure. 32 00:02:48,750 --> 00:02:59,670 So wherever you see his T T P S that that identifies at if he's a secured connection happen between 33 00:02:59,820 --> 00:03:00,910 two browsers. 34 00:03:01,050 --> 00:03:11,360 So the information that is transporter using the TTP S is usually encrypted and secure information. 35 00:03:11,400 --> 00:03:21,670 This is a basic illustration of how the TTP and his TTP put to call works. 36 00:03:21,730 --> 00:03:31,980 So if you're a user here on your Web browser you can transport information via the hey TTP and the information 37 00:03:31,980 --> 00:03:33,790 will not be secured. 38 00:03:33,900 --> 00:03:40,560 So this is normally where you trance where you transferring information via these TTP. 39 00:03:40,760 --> 00:03:49,240 You using the port 80 which is a normal TTP port is an insecure connectionist not secure. 40 00:03:49,470 --> 00:03:57,680 However if you are using an encryption and use it you be using the TTP s. 41 00:03:57,720 --> 00:04:01,840 The S in his TTP makes the connection secure. 42 00:04:02,010 --> 00:04:10,960 Usually with a Hitty t p s it uses a secure connection or four for three and a date. 43 00:04:10,980 --> 00:04:19,500 You can see the blue bit there the data transported is encrypted that is secured using the ss s s l 44 00:04:19,530 --> 00:04:27,330 l certificate the s s l l certificate r what they are. 45 00:04:27,330 --> 00:04:37,500 There are small piece of data files that digit lead binds a cryptographic key to unorganized ancient 46 00:04:37,630 --> 00:04:38,440 details. 47 00:04:38,550 --> 00:04:49,760 So when when it is installed on a web server it activates the padlock and the hated t p s to call transpose 48 00:04:49,770 --> 00:04:52,980 the data over the port 443. 49 00:04:52,980 --> 00:04:59,860 This allows the data to go through a secure unprotected connection. 50 00:05:00,200 --> 00:05:09,050 Forth between web browsers or any data transported using the T T P S is secured and is usually transported 51 00:05:09,250 --> 00:05:10,340 via a port. 52 00:05:10,340 --> 00:05:13,360 Number 4 4 3. 53 00:05:14,030 --> 00:05:17,560 What is and what is ex email. 54 00:05:17,600 --> 00:05:20,810 T P T P requests objet. 55 00:05:20,870 --> 00:05:22,710 This is very important. 56 00:05:22,840 --> 00:05:33,140 Cause this object is what Ajax uses to exchange data with this server behind the scene so all the action 57 00:05:33,140 --> 00:05:37,900 that is perform using AJAX is done behind the scene. 58 00:05:38,040 --> 00:05:40,240 He is in the SML. 59 00:05:40,290 --> 00:05:44,420 T T P request object. 60 00:05:44,670 --> 00:05:53,530 All modern web browsers have a built teen ex email on his t t p requests object. 61 00:05:53,650 --> 00:06:00,230 It is used to exchange data with a web server behind the scene. 62 00:06:00,230 --> 00:06:12,590 This allows the web browser to date parts of a web page without reloading the whole page so the BE behaviour 63 00:06:12,620 --> 00:06:20,090 whereby Ajax is able to obfuscate parts of a web page without reloading. 64 00:06:20,100 --> 00:06:26,400 Web page is known as a synchronoss and he does this using the XM mail. 65 00:06:26,430 --> 00:06:30,360 Hey TTP request object. 66 00:06:30,740 --> 00:06:36,650 So this is an illustration of how Ajax works. 67 00:06:36,650 --> 00:06:39,500 For example you got your web browser here. 68 00:06:39,770 --> 00:06:50,150 When an event occurs in a Web browser for example when you click on the button what happens it creates 69 00:06:50,600 --> 00:06:59,120 an exit mail his TTP request object saw was the object is created. 70 00:06:59,370 --> 00:07:05,960 It then sends a request over the Internet to the web server. 71 00:07:06,470 --> 00:07:18,440 So what happens to web server process this the Hayes TTP request he creates his response and sends the 72 00:07:18,440 --> 00:07:24,540 respond back over the Internet to the web browser. 73 00:07:24,560 --> 00:07:26,550 So what happens. 74 00:07:26,810 --> 00:07:31,900 The response that comes back from the server is processed. 75 00:07:31,940 --> 00:07:38,510 The data is processed using JavaScript and there was javascript processors. 76 00:07:38,520 --> 00:07:41,510 The data headend of dates. 77 00:07:41,510 --> 00:07:42,680 The web page. 78 00:07:43,010 --> 00:07:46,820 Okay so this is how jazz works first. 79 00:07:46,820 --> 00:07:55,520 For me it creates an XM old 80 to be a request object says a request over the Internet to the server. 80 00:07:55,820 --> 00:08:08,810 This process this the TTP request a den creates a response to that request and sends data back to the 81 00:08:08,810 --> 00:08:18,700 server over the Internet so did the data have now sent back and the process data is then transformed 82 00:08:18,740 --> 00:08:21,880 the process interpreted using javascript. 83 00:08:22,040 --> 00:08:29,360 So my script now works with the data that is passed back from the server of days to a web page and then 84 00:08:29,390 --> 00:08:33,190 you see where change is done behind the scenes. 85 00:08:33,380 --> 00:08:42,440 So jabaar Script is key here because it is what is used to process the data that is returned from the 86 00:08:42,440 --> 00:08:43,300 server. 87 00:08:45,280 --> 00:08:55,500 In this lecture up we learnt what a jackass this also learned about hate TTP and his TTP. 88 00:08:55,540 --> 00:08:56,490 Yes. 89 00:08:56,500 --> 00:09:05,080 Well let the differences between the two brutal called arsaell were lent a babik SML his TTP request 90 00:09:05,170 --> 00:09:14,500 object which is what a jackass uses to pass on information to the server. 91 00:09:14,650 --> 00:09:20,080 We saw saw an illustration of how Ajax works. 92 00:09:20,110 --> 00:09:22,310 Thank you for your time. 93 00:09:24,670 --> 00:09:28,350 Please let me know if he's got any questions. 94 00:09:28,390 --> 00:09:30,780 I'll be more than delighted to help. 95 00:09:30,940 --> 00:09:33,580 Or the best wishes and bye for now.