Hello again, everyone.
All right, so far we've understood component logic and we've made some small changes to it, so now
it's time to understand one of angler's most powerful features.
And that, my friends, is data binding.
Now, of course, you might want to ask what the heck is data binding, but it's very simple.
We can basically say that data mining provides communication between typescript and template.
So e-mail.
Now, we know that the user sees the view layer that is the HTML page in the browser and it performs
its operations on this layer.
For example, a user will enter user information or make selections on the page, and we know that in
the background jobs are performed on the typescript file.
And here is a communication between template and type script, thanks to data binding.
All right, so.
Data mining is actually a communication.
Right.
So that means there's two basic methods for this type of communication.
First one is one way data binding.
The second one is to weigh data binding.
Sounds simple, but let's start with one way data mining.
So this type of data communication is perhaps a simple way to exchange where the e-mail file changes
when we change the typescript.
One way data mining can be examined under three subtitles, one string interpellation, two property
binding, three event binding.
So with a string interpellation in property binding, the output data in HTML is with the change in
typescript with event binding, there's a one way communication from HTML to typescript, for example,
when a user presses a button.
But if we want to trigger typescript with a user change, you got to use to weigh data binding, OK,
because a.
Change in the template with one way communication won't be able to update on the typescript side.
So Angular solves this with two wadada binding.
So this lesson we touched on the basic question of what is data binding?
So don't worry, we're going to get into detail on these four methods in our upcoming lessons, but
I do want to talk about string interpolation in our next lesson.
All right.
See you then.
Bye for now.