Note that there are some explanatory texts on larger screens.

plurals
  1. POLightweight View Models For WPF
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COWhile there are benefits like separation of concerns and code re-use that you get when using MVVM, keep in mind that MVVM is primarily about being able to test your business logic separate from the actual view. If unit testing of your application is important to the project, then MVVM is a good choice and probably worth the associated 'overhead'.
      singulars
    2. COI disagree. View Models should not have business logic, they contain the logic associated to the ui. Our business logic/model layer IS unit tested. But the costs associated with publishing in a typical shrink wrapped or commercial product barely exist in an internal LOB application, so we beleive there is little point to unit test the UI, which puts us in this place of also wondering the usefullness of MVVM in it's purest form.
      singulars
    3. COI disagree, ViewModels should never contain UI logic. Anything related to the UI such as setting focus or running animations should be done in the code behind. The ViewModels should contain Business Logic such as Loading/Saving data, and they should control application flow such as changing what ViewModel is the currently active screen, or returning error messages. Your ViewModels ARE your application, while the Views are just a pretty UI that allows users to interact with the ViewModels easily.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload