Articles


In previous posts in this series I introduced the concept of observables, and I referred to the concept of Observable Collections in Xaml (WPF and Silverlight) applications.  Knockout also supports the concept of observable collections, although because JavaScript only has one collection type they are observable arrays.

Just as an observable responds to changes in an object, an observable array responds to a change in the number of items in the array.  It tracks which objects are in the array - not the state of those objects.

Aug 16 2013

So far we have seen how we can set up simple observable values.  But what if we want to have calculated values in our ViewModel.

Lets extend our ViewModel from the previous examples, by renaming our personName property as firstName and add a second property called lastName.

Aug 15 2013

In the previous post in this series I introduced the concept of simple one-way data binding.  However the real power of knockout is its support of observables and two-way binding. 

The concept of observable objects or observable collections was developed for WPF (Xaml) and Silverlight. 

Aug 8 2013


Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Tags