Reputation: 268
How do you name the classes (Model, View, ViewModel) using the MVVM pattern in your projects?
Upvotes: 0
Views: 101
Reputation: 12833
For the view I append 'View' to the Model, as in "PersonView".
Similarly for the view model I append 'Vm' to get "PersonVm".
Of course the The Model name has everything to do with the domain and nothing to do with MVVM.
Cheers,
Berryl
Upvotes: 1