WEBVTT 00:00.210 --> 00:06.060 We've seen the helpers not to file, not just go ahead and create one for ourselves, really leverage 00:06.090 --> 00:07.500 the power of templates. 00:08.040 --> 00:10.560 I'm going to copy this folder here, my first chart. 00:10.920 --> 00:13.800 And the reason for that is basically simply, listen, it's. 00:15.840 --> 00:17.940 I'm going to rename the folder to. 00:19.840 --> 00:20.830 Templated show. 00:24.550 --> 00:28.370 We could use the new one, we trace the call templating, but again, there's lesson here. 00:28.660 --> 00:30.400 It also means there's less complexity. 00:31.100 --> 00:37.090 Zuzana Templates folder, create a new file and because it's not going have any humanises objects inside, 00:37.120 --> 00:43.780 we're going to notice it with a underscore and I'm going to call it my template. 00:44.020 --> 00:50.290 DOT TPL, as we see in one of the main benefits of templates is that we can create reasonable blocks 00:50.290 --> 00:51.920 of code and with no limits. 00:52.000 --> 00:57.370 It's one of the most common things might be is labels inside a diplomatic service. 00:57.370 --> 01:00.070 We only have one, but let's imagine you had 20. 01:00.430 --> 01:05.370 We don't want to send closer up its deployment and your service by putting always labels in there. 01:05.590 --> 01:10.780 And then if you make a change in one place, it makes like so much easier, because instead of having 01:10.780 --> 01:15.760 to go through every single file, you have one central location where all the values are pulled from. 01:16.870 --> 01:22.070 So let's get started with it, so to start, we need to define what this template is going to be. 01:22.090 --> 01:23.500 So we did with curly brace. 01:23.500 --> 01:26.620 Curly brace dush define. 01:28.660 --> 01:37.180 And double quotes, what we're going to call it, some call it my labels, then another dash and a purpose 01:37.180 --> 01:39.280 for the dash is Willhelm. 01:39.280 --> 01:41.610 This tells it not to put it on a new line. 01:42.130 --> 01:43.550 So we had multiple values in there. 01:43.630 --> 01:49.080 What we do is then put in potentially a new line at the end of it which could break our Yamal. 01:49.120 --> 01:50.380 So we don't want to do that. 01:52.180 --> 01:56.680 The need to end a template book so good can embrace calibres. 01:57.830 --> 01:58.610 Dash, dash. 01:59.910 --> 02:01.180 An end in the middle. 02:02.130 --> 02:06.240 So now we can put whatever we want inside out, so we're going to do labels. 02:06.240 --> 02:10.890 So let's have a look at what we've currently got set to be using app engine X. 02:12.970 --> 02:22.950 But at Ingenix now want to add some more so we might put location and front end. 02:25.310 --> 02:28.530 And Will Sabba and we'll give it a title, say it's a proxy. 02:29.030 --> 02:31.730 This is one example that you could have a lot more labels. 02:32.390 --> 02:35.060 So what we've done is we've created a template. 02:35.450 --> 02:38.840 Up next, let me show you how we can actually go ahead and use it. 02:39.770 --> 02:44.060 And there's a really important difference I want to go first because it's not very clear and it's going 02:44.060 --> 02:45.590 to save you a world of pain. 02:45.740 --> 02:46.670 Let's see right now.