1 00:00:00,600 --> 00:00:09,090 In the previous article, I showed you how you can use extent as a function to extend your basic template 2 00:00:09,090 --> 00:00:15,780 to the other pages as well, so I even showed you and in that previous document I showed you how you 3 00:00:15,780 --> 00:00:16,860 can render an estimate. 4 00:00:17,700 --> 00:00:21,060 And this is going to be contribution to the general complex as well. 5 00:00:21,390 --> 00:00:28,230 And in this, we are going to work with how you can work with how you can work with Jianguo templates 6 00:00:28,230 --> 00:00:29,610 in order to render. 7 00:00:30,800 --> 00:00:36,050 More things on your funding application form, but this time we are going to use two things. 8 00:00:36,050 --> 00:00:40,180 One is going to be the Falu and one is going to be defense pot. 9 00:00:40,430 --> 00:00:46,390 And before this, I would show you how you can possibly replace to your front end application front 10 00:00:46,430 --> 00:00:54,020 and part of your application using the Centex function and how you render your variables using a dictionary. 11 00:00:54,320 --> 00:00:56,980 So you will get to know this all this individual. 12 00:00:57,350 --> 00:00:58,910 So let's get started with it. 13 00:00:59,150 --> 00:01:04,120 So first thing I am going to do is going to define a pot. 14 00:01:04,580 --> 00:01:13,070 So basically I'm going to define who you are on my third page and I would call a function. 15 00:01:13,070 --> 00:01:21,040 You start my page and I would name this as my third page as well. 16 00:01:21,680 --> 00:01:30,680 So I am using this naming convention so that in order you get to the doing so, you get a brief overview 17 00:01:30,680 --> 00:01:33,160 like this is the third page who you are working on. 18 00:01:33,560 --> 00:01:36,360 So of course I will run my server on my machine. 19 00:01:36,860 --> 00:01:39,620 So this is going then why is it slow? 20 00:01:39,620 --> 00:01:44,260 Because I've not defined my third page function in my views. 21 00:01:44,690 --> 00:01:58,130 So what I'm going to do, I'm going to move to my views, don't be fired and define my third page mistake 22 00:01:58,130 --> 00:01:59,710 request as a barometer. 23 00:02:00,620 --> 00:02:05,180 And basically it is going to return and render. 24 00:02:07,870 --> 00:02:19,540 Request and put in, so basically till now, I have not defined it yet, so what I'm going to do is 25 00:02:19,540 --> 00:02:25,470 go into my next folder and in time I'll go to second Faymann. 26 00:02:25,960 --> 00:02:32,830 So I would quickly copy this and create a new file file basis and I'll change this. 27 00:02:34,060 --> 00:02:34,510 So. 28 00:02:36,320 --> 00:02:39,570 On this as past third. 29 00:02:43,680 --> 00:02:49,880 Now, I said this as told Dr. Tional. 30 00:02:51,740 --> 00:03:03,110 And I hope this will work and I'll move to my local service that has started my third page so you can 31 00:03:03,380 --> 00:03:06,220 see the title is my third page. 32 00:03:06,680 --> 00:03:09,950 So it extends to the common Navar. 33 00:03:10,130 --> 00:03:16,340 I told you how you can quickly extend one page to another using an extended function. 34 00:03:16,850 --> 00:03:20,560 So now I would tell you how you can extend rebels. 35 00:03:21,770 --> 00:03:28,320 I think you are going to extend rebels to the front end application using the context function. 36 00:03:28,340 --> 00:03:32,480 This is going to be very, pretty good and pretty easy also. 37 00:03:32,720 --> 00:03:34,490 So what you can do, you can. 38 00:03:35,720 --> 00:03:41,030 Simply to agreeable and create a stable of a detective straight to the name. 39 00:03:41,250 --> 00:03:41,710 Hello. 40 00:03:41,940 --> 00:03:42,380 Hello. 41 00:03:45,160 --> 00:03:50,350 Now, what I am going to do, I'm going to define my dictionary. 42 00:03:53,110 --> 00:03:53,950 And what? 43 00:03:55,290 --> 00:04:04,500 What you want to pass this for, just to be an easy way to send key value pair, so basically. 44 00:04:06,220 --> 00:04:09,720 Basically, you are forcing the variable, rather. 45 00:04:11,140 --> 00:04:13,060 The team also as well. 46 00:04:13,420 --> 00:04:20,380 So what I'm going to do, I have a quick overview of this, so you will type and text. 47 00:04:21,840 --> 00:04:23,350 Is equal to my dictionary. 48 00:04:23,820 --> 00:04:30,690 Now you are passing a new variable where so this is your variable, basically this has a data on the 49 00:04:30,690 --> 00:04:32,520 right type value. 50 00:04:32,790 --> 00:04:37,620 And on the key side, you are naming the name, which is going to be rendered on the front and forth 51 00:04:38,040 --> 00:04:38,940 and now. 52 00:04:39,860 --> 00:04:41,060 What I'm going to do. 53 00:04:41,090 --> 00:04:48,350 I'm going to declare each one heading and to initialize the value of the rebel, I'm going to type via. 54 00:04:49,760 --> 00:04:51,290 OK, this looks good. 55 00:04:51,560 --> 00:04:53,520 Now, I would refresh speed. 56 00:04:54,080 --> 00:04:56,430 Now it says hello, this is pretty cool. 57 00:04:57,260 --> 00:05:01,430 Now what I can do or I'll have another variable. 58 00:05:04,590 --> 00:05:10,440 Greet, greeting, and I say, hey. 59 00:05:12,820 --> 00:05:23,860 How are you so this would greet the user, but this time I'm going to fuss with the main message. 60 00:05:25,760 --> 00:05:29,010 So so this would help you to understand. 61 00:05:29,420 --> 00:05:30,880 So this can mean anything. 62 00:05:30,900 --> 00:05:34,550 So what I'm telling greeting is unbearable of this time. 63 00:05:35,750 --> 00:05:40,300 So this is a value greeting and what Neimann going to possibly the message. 64 00:05:41,120 --> 00:05:43,580 So when I move to the third e-mail. 65 00:05:44,790 --> 00:05:45,960 What I'm going to do. 66 00:05:47,230 --> 00:05:55,980 I'm going to use message here and now this message basically has the greeting variable inside it. 67 00:05:57,740 --> 00:06:04,520 So this would bring the value on the front and application part to say, hey, how are you? 68 00:06:04,730 --> 00:06:05,580 This was pretty cool. 69 00:06:06,220 --> 00:06:06,830 Now. 70 00:06:09,990 --> 00:06:15,810 I'm going to define a list of rules, basically Apple. 71 00:06:18,390 --> 00:06:19,110 Mangou. 72 00:06:21,660 --> 00:06:22,650 And banana. 73 00:06:25,110 --> 00:06:25,580 And. 74 00:06:27,740 --> 00:06:33,140 I'm going to pass these foods using key value pair, basically. 75 00:06:34,780 --> 00:06:45,900 I'm going to it with my foods, so this food fast, this food, which has a data type of list for it, 76 00:06:45,940 --> 00:06:46,630 you can see. 77 00:06:47,560 --> 00:06:56,380 And I'm going to tell you the name, my boots on the front and back, and when I move here and create 78 00:06:56,560 --> 00:07:01,120 an unwanted list using a simple Falu, so I type. 79 00:07:02,110 --> 00:07:08,410 OK, before this, I would type for each fruit and. 80 00:07:10,390 --> 00:07:12,040 My group's. 81 00:07:17,180 --> 00:07:22,830 I'll simply end this tube using this template and for an. 82 00:07:24,540 --> 00:07:27,390 I'm going to type to type the list by. 83 00:07:29,780 --> 00:07:33,120 And basically, each food is a value. 84 00:07:33,140 --> 00:07:34,010 I'm going to print. 85 00:07:38,010 --> 00:07:46,260 And you can see the magic here, you can see apple, mango, banana is here and simply maybe sometime 86 00:07:46,260 --> 00:07:50,950 you have a large lift in your back and forth and you want to print it. 87 00:07:50,970 --> 00:07:53,420 You can simply pick it up or look. 88 00:07:54,030 --> 00:07:57,130 So even this you can you can do this like this. 89 00:07:58,200 --> 00:08:03,810 We do it like for I in my fruit, you can simply print. 90 00:08:05,230 --> 00:08:07,300 I want this to work. 91 00:08:09,670 --> 00:08:12,710 OK, so you can see even this also, Wolf. 92 00:08:13,000 --> 00:08:14,230 So this looks pretty cool. 93 00:08:14,260 --> 00:08:16,060 We are done with the fall as well. 94 00:08:16,670 --> 00:08:20,170 Now we are going to walk with the spot. 95 00:08:21,010 --> 00:08:27,140 So in the future, you can see the gray. 96 00:08:28,480 --> 00:08:31,030 Agreeable, it could give any type. 97 00:08:32,280 --> 00:08:42,270 And basically, it could give any time what you can do is like you can have a bit of you, this is how 98 00:08:42,270 --> 00:08:44,430 we use like if. 99 00:08:45,350 --> 00:08:46,010 Elif. 100 00:08:47,320 --> 00:08:57,940 As and if so, in order to end anything, you need to type if I left as and if so, what we can do. 101 00:08:59,110 --> 00:09:02,920 OK, OK, we are going to take two numbers. 102 00:09:04,290 --> 00:09:05,610 No one. 103 00:09:06,700 --> 00:09:07,180 Come on. 104 00:09:07,310 --> 00:09:09,220 Number two is equal to. 105 00:09:10,530 --> 00:09:12,630 Three and five. 106 00:09:13,660 --> 00:09:17,800 So what we are going to do and we are going to take a variable. 107 00:09:18,890 --> 00:09:19,660 Answer. 108 00:09:22,190 --> 00:09:24,080 And the answer is going to be. 109 00:09:27,670 --> 00:09:29,560 What we can do is. 110 00:09:31,000 --> 00:09:33,040 Also is going to be number one. 111 00:09:34,090 --> 00:09:41,260 Is greater than two, so before this, I would bring the answer on my console. 112 00:09:44,220 --> 00:09:51,920 So what I'm going to do is going to speech this would, if you are, recall that you've got views of 113 00:09:51,930 --> 00:09:53,300 the and it says. 114 00:09:54,570 --> 00:10:03,420 So you can hear see, it's his fault because no one has the values and the number to has five and spirited 115 00:10:03,480 --> 00:10:03,980 and fight. 116 00:10:03,990 --> 00:10:04,340 No. 117 00:10:04,380 --> 00:10:06,450 So this gets the value as false. 118 00:10:06,900 --> 00:10:10,380 And it dispensed the answer on my consoles. 119 00:10:10,380 --> 00:10:18,150 I would come out and I would render answer. 120 00:10:19,070 --> 00:10:20,210 As answer. 121 00:10:23,640 --> 00:10:24,510 No one. 122 00:10:27,450 --> 00:10:28,580 As one. 123 00:10:31,000 --> 00:10:34,300 OK, and also. 124 00:10:35,660 --> 00:10:37,280 Numb to. 125 00:10:39,300 --> 00:10:40,910 As to. 126 00:10:42,390 --> 00:10:45,450 So this should work and see. 127 00:10:46,550 --> 00:10:54,240 OK, now you can see, OK, this is going to be good, so no one is being tested on one. 128 00:10:54,240 --> 00:10:55,670 No to answer no. 129 00:10:56,550 --> 00:10:58,350 I am what I'm going to do. 130 00:10:59,060 --> 00:11:01,080 I'm going to use it if condition. 131 00:11:09,630 --> 00:11:10,350 Answer. 132 00:11:14,940 --> 00:11:18,690 And I'm going to use an end spot as well as. 133 00:11:25,220 --> 00:11:26,180 And if. 134 00:11:27,950 --> 00:11:33,890 OK, so you can see this is the same syntax I'm using this time, I'm only using an F. 135 00:11:34,790 --> 00:11:36,740 As an end, if only. 136 00:11:38,780 --> 00:11:39,950 If, officer. 137 00:11:42,140 --> 00:11:48,830 If an officer is right, this means what I meant in my view of the file, that. 138 00:11:50,520 --> 00:11:58,730 If this is true, then no one is greater, if it's more than the number two is greater than you type. 139 00:12:05,980 --> 00:12:08,860 No one is greater. 140 00:12:12,800 --> 00:12:13,220 Don. 141 00:12:15,240 --> 00:12:19,890 OK, we can even do this like this, also what we can do, we'll use color with this. 142 00:12:21,030 --> 00:12:23,040 No one is quicker than. 143 00:12:27,740 --> 00:12:28,160 To. 144 00:12:29,350 --> 00:12:30,210 This looks good. 145 00:12:33,670 --> 00:12:43,880 And as part, we are going to the rest of it and Jane, this has none to is greater than number one. 146 00:12:44,710 --> 00:12:50,020 OK, so this is my spot and I'll move to my page. 147 00:12:51,400 --> 00:13:00,280 And if this cease fire is greater than three, because I had mentioned in the file, if I change these 148 00:13:00,280 --> 00:13:07,210 two numbers and your random numbers, I lead to 10 and I'll take this as seven. 149 00:13:07,220 --> 00:13:08,230 So this will look. 150 00:13:09,300 --> 00:13:20,250 Maybe this time of year it's is greater than seven because because I have created a back in logic and 151 00:13:20,280 --> 00:13:24,780 I'm using that logic in my thought as well. 152 00:13:24,960 --> 00:13:31,860 So in the previous year, I showed you why is good and now I'm sure you can see it in seven. 153 00:13:32,160 --> 00:13:37,680 So you can use this back and logic on the Peli part, render it and show it. 154 00:13:38,760 --> 00:13:40,000 So thank you so much, guys. 155 00:13:40,230 --> 00:13:41,990 I'll catch you in the next election. 156 00:13:42,120 --> 00:13:42,840 So thank you, guys.