Skip to content
Discussion options

You must be logged in to vote

Hi @WillBellJr, welcome to the community!

The short answer is that CSLA should work with pretty much any MVVM framework.

My recommendation has consistently been to use very thin viewmodel types, allowing the view to bind to the model as much as possible. This is because a well-designed CSLA model object will expose the right properties for the UI, and already supports data binding plus a bunch of extra rich functionality around validation and authorization rules that go beyond basic data binding.

Conceptually then, a viewmodel does three primary things:

  1. Handle UI interactions via commands/events/etc.
  2. Expose a Model property so the UI can bind to the model
  3. Expose a set of rich metastate p…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rockfordlhotka
Comment options

@WillBellJr
Comment options

Answer selected by WillBellJr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants