Is data binding a good way to connect a view to a model

I am thinking about the design of a WPF or Silverlight application. I plan to use MVC (or another such design pattern)

Is the witch ever of the design patterns that I choose, I need to connect to the model view (or lead) - is this a binding of a good way to do this?

(Earlier with WinForms applications, I found that Databinding gives a lot of problems in the long run and does not fulfill my promise. Is it the same with WPF and Siverlight?)

+3
source share
4 answers
+1

, . WinForms ASP.NET , , Silverlight WPF .

  • , . INotifable .
  • , , . ( ), , , .. .
  • , MVVM, WPF Silverlight. MVVM : .
  • . , . .
  • , . , .
  • -ness. , , . . , , () , .
  • DataContexts , . . , .
+2

WPF Adobe Flex Winforms, , . . WPF, . XAML .

, , .

, MVVM , . , , , , , .

+1
source

Data binding in WPF goes far beyond what you could achieve in Winforms. It is an integral part of the platform and is common throughout. I would say that you cannot understand WPF without understanding its data binding system.

This is not without its traps, to be sure. Broken bindings are often not as obvious as you may like, but improvements have been made to help you identify and flag these issues.

0
source

Source: https://habr.com/ru/post/1716131/


All Articles