Coffeehouse Post

Single Post Permalink

View Thread: MVVM
  • User profile image

    spivonious said:

    I found this blog post which builds a very basic MVVM app around a DataSet. It still seems like an unnecessary separation to me, but it does make the code more structured.

    John - the DataSet designer isn't part of the applications View...I'm confused as to why yout think I'd need to create everything in code.

    Create everything in code is one way to insure the ViewModel requires no assistance from a designer, more testable & portable.

    Unit tests don't involve any UI elements, just instantiate the ViewModel and mock or stub data for it ~ the DataSet schema needs be readied for this one way or another -