Saturday, February 12, 2011

Reviewing ReactiveUI

I am reviewing the ReactiveUI code now and I have to say it’s some of the coolest code I’ve seen in a while!

I really like the base ReactiveValidatedObject class for building ViewModels.  The view models become so much easier for validation and INotifyPropertyChanged:

string _Name;
[Required]
[StringLength(35, MinimumLength = 3, ErrorMessage = "Names have to be between 3 and 35 letters long")]
public string Name {
get { return _Name; }
set { _Name = this.RaiseAndSetIfChanged(x => x.Name, value); }
}


The MemoizingMRUCache class looks very handy and I also like how the logging is accomplished.



The sample that comes with it has great comments and I learned more about MEF in the process.



It has a Ruby feel to with with a rake build script.



I have so much more to review.