This is our own agenda, cities like in the previous photo doodles, I showed you how to create a general
project and a general park, then how you can work with the request and the response part by others.
And in the previous tutorial, that was the fourth one, I told you all you can think of with your back
and forth, how you can create a template folder as well as a static folder.
And one thing I showed you the FEMA page that I can work with the developer tools.
What would the response design of bootstrap and why we use it?
And the one thing you can do this now, we are going to work with templates.
So basically emptied our files and we can use them to render the backend logic into the front end part.
So first thing, I'm going to show you that in previous tutorial we created a page.
So this is the page we created in the previous.
To do so, I would try to control you.
And this would this is a shortcut to see the front, end quote.
So this is all fun and cool.
And what noticeable we can notice from this is that this printing code, will all this like the same
structure?
We are going to use it in the different files in the.
So we are going to I suppose, in order to give you a practical example like this, in a bar like this
number is going to be common in all the pages.
So when we move to another page, so this novel will remain common and this structure will also remain.
So what can be different?
The end of that page might be different from the another page and it will be different and the title
can be different as well.
But the basic structure and the number on the photo will always remain common to every page, because
number is something you will help the application form to navigate from one place to another, and you
will copy the not every time you make a new page so that that front, end quote will always be common
to all the pages.
And we can make this with the help of these things, which are extensions block after block and block.
I will give you a practical example.
I can do that.
And what what is the importance of it?
So first assignment templates folder.
I would create a new file that is the is in addition to this.
Then I would create a second estimate.
OK, no second or two I have to provide you, as Peter said, so I would copy this part and pasted instead
of this first page, I would do this as second page.
This is my second page.
And I would also second page.
And this is touching this second page.
So we just click, I did this, so I have provided a new box, my second page used on my second page.
I have to see what it does, my second page.
So it is human error because of human error, because I have not defined my second page inside my view.
So I would go back to my usual fee.
So like the previous, there was one of my first pick which used to render in this tradition, but I
would create the second page, as with my foot, my second page, which would take a request as an input
and
render.
Request.
Gomaa second thought it meant so, so I told you that this would have created a second page in my template
folder than I provided you, other than a visual function to that others.
But so when I move to my page, my second page.
OK, so I'm glad it's nothing but what I wanted to tell you, if you knew the source code of the front
end part of that.
So this shortcut was by you.
And this is the source code of the full speech.
So you want all this to be common in that page as well.
OK.
Before I do this, I to show you one thing and I would copy this number.
OK, I copied this now, but I would paste this in my index to make sure this index short statement,
OK, this is index finger.
And when I move to my first page.
OK, I will move to my speech, my first.
Paige.
So this is sort of my first speech and this has been updated because it has a number in it, but and
when I move to this page.
OK, now this looks pretty good.
OK, so what I told you that inside my first page I have given a number and what I will do one thing
also I would change the title as well to make sure there's no confusion on my first page.
OK, so this looks pretty fine and pretty cool.
OK, and this this this is my first page.
And what I need to do, this is my first page.
No, I would move to the second file as well.
And inside my second or even file, whatever you do, I would type.
For extends in this store in.
I would get this as a person, come on.
OK, so this would.
When I moved to the second page.
So, yeah, this is this is my second page as well, and you can see this has blown all the things which
we did in the full speed as well.
But I need to take care of one thing that my title should be different.
So I would move back to my indictor if given an inside this.
I have to mention the title in this way.
Lot tighter, because when I might move going under the bridge, so I would go right to.
And.
And look.
OK, on inside, my second thought, I would repeat this as well.
So just to be quick, I would copy this.
I would copy this.
Look, this looks pretty fine, so I would open the pages.
This is my second page.
Of.
I opened the first page.
So this is my first page and this is my second page, so you can feel the difference here, that within
two lines of code, I want all the structure as well as the Narbethong index in the second estimate.
And I provided food out to the one was my first page with the name, with the title, my first page,
and another one with the title of my second page.
So this looks pretty good.
And what you can do now is you want to change the content, so it's in next door formal.
I would move this each one directly inside the content.
So the I would put the name to that first page as well.
So I would type.
Thousand block content.
And Boston and.
So when I read my page, so this is my first page.
So it is a weird jungle project for this page, and when I do just wish this is also a jungle project
first page, but I want to change this content.
This particular content block content.
So I would do one thing.
I would move back to the second table and I would type doesn't block content.
And a key got.
And I would give this given an actual heading.
Second page extends first page with a column with.
Month.
This should look fine, so see the magic in the second page extends first page with a common Navar and
this is my first page.
OK, and this is my second page.
So you can feel the difference like inside my first index, but only think what was a driving force.
I would open this earth and show you that the content of this page is here.
This is the actual line and this was the content of the full speed.
And inside the second page, this was the content.
OK, but you can see all of those things come with the title being different and the content is different.
Everything is common.
So what I wanted to tell you show you that when you use the extend functionality of the template with
I think with a three or four lines of code, you can on the first page or estimate not far from the
first page to another bit.
And this would reduce your estimate code as well.
And this will help you to make dynamic SDMI pages in future.
So what you need do is you need to create an extra Faymann, then you need to define a dynamic title
to it.
So this looks fine.
Then you need a dynamic block content to it as well.
And you need to extend this in the second page as well with the help of this thing.
OK, so do with the help of only four to five lines of code, we were able to extend the.
Air Force base on a second base, so in the next iteration, I'm going to work with General Templer,
but I'm going to show you more functionality of it.
So thank you, guys.
Thank you so much.
Thank you.