Summary
Data binding is a powerful feature, although its use is also optional. After all, it’s not hard to write code that ties two objects together. But writing such code can be tedious, error prone, and a maintenance hassle, especially when managing multiple data sources that might need to be synchronized as items are added, removed, and changed. Such code also tends to tightly couple business logic with the user interface, which makes apps more brittle.
There’s more to data binding than cutting down on the amount of code you need to write, however. Much of the appeal of data binding comes from the fact that the majority of it can be done declaratively. This has some important implications. Design tools such as Visual Studio can (and do) surface ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access