Stateless View Models

Abstract:

You've seen how to use MVVM Light to build stateful view models. You've used the message bus to synchronize that state among several view models. You saw how complex a solution can get. Now lets see a simpler alternative. Stateless view models don't need a message bus to keep data up to date. They track dependencies upon the model, and automatically update when that data changes. This simplifies your view model code by eliminating property changed notification, message publication, and state management. Stateless view models enable a powerful new set of patterns. In this session, we will explore some of those patterns, including: Linq projections, Selection model, Dynamic search and sort. This style of view model is made possible with the use of a dependency tracking framework. For this workshop, we will be using Update Controls, an open-source library available through NuGet.

Speakers:

  • Michael L Perry

    23 Recordings
    Software is math. Every class is a theorem. The compiler is the proof. And unit tests check our work. Michael wrote The Art of Immutable Architecture, a book on applying mathematics to building distributed systems. Learn more at https://immutablearchitecture.com. Michael has recorded Pluralsight courses on Distributed Systems, XAML Patterns, and Cryptography, in addition to Provable Code. Formerly a Microsoft MVP for seven years, he maintains the spoon-bending Assisticant and Jinaga open-source libraries. You can find his videos about distributed systems at historicalmodeling.com. And he helps his clients at Improving benefit from the power of software mathematics.

Recorded At:

Recorded on:

Mar 5, 2013

More Info:

http://dallasxaml.com/

Tags: