O'Reilly logo

Applied WPF 4 in Context by Raffaele Garofalo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Patterns for the UI

The point of applying a design pattern to the graphical layer of an application is to loosely couple the business logic to the presentation logic so that, for example, you can recycle the same components for a different View.

However, with presentation patterns, the idea is not to apply them in order to loosely couple the Model to the View. In the first place, all the information carried from the model is exposed by the View and there's no reason to hide it. Moreover, the amount of effort you have to put in and the amount of code you have to write to totally loosely couple the view to the model is too much to gain any other advantage.

If you look at all the other presentation patterns (not just for WPF), they all include the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required