as per my understanding about mvvm is.
there is a model (entity class that also implement inotify…), view (xaml code) and some class as vm (kind of controller which normally inherit icommand) to let us make events/commands to be generated on specific event…
m just wondering about difference between viewmodel class and xaml’s code behind class… why don’t we simply consider and enhance code behind…
no considerable reason is in my mind to justify this…
or kindly write somethng with example to clear mvvm… and why mvc or mvp is hell for wpf app????
The Model does not implement INotifyPropertyChanged, the ViewModel does. The actual WPF view data-binds to the ViewModel. There is now a lot of documentation online for this.
http://msdn.microsoft.com/en-us/magazine/dd419663.aspx
http://blogs.msdn.com/johngossman/archive/2005/10/08/478683.aspx
MVVM is associated with WPF because WPF’s data binding mechanism when combined with this pattern makes testable GUIs a breeze.