Search

You searched for the word(s): model view AND user:JohnGossman
Showing page 1 of 3 (23 total posts) 1.32200002670288 second(s)
  • Model-View-ViewModel

    In preparing my example of Model-View-ViewModel I had a lot of help from Adrian Sanchez, who previewed the code and asked me questions about it. It was a big help in figuring out what needed... observation: WPF uses the Model-View-ViewModel pattern. WPF controls are designed to be "look
    Posted to Tales from the Smart Client (Weblog) by JohnGossman on February 26, 2006
  • Model-View-ViewModel pattern example

    I've been promising an example of the Model-View-ViewModel pattern for some time. With the Feb CTP... contact database. The core model classes looks like this: public class Contact { // Methods public... dependencies. Imagine this is a pre-existing model, perhaps an interchange schema or a web-service
    Posted to Tales from the Smart Client (Weblog) by JohnGossman on February 26, 2006
  • 100 Model/View/ViewModels of Mt. Fuji

    does mutter something about my cavalier definitions of the terms I use. Case in point: Model/View... have a clean definition of the term ViewModel. Model is well understood. View is well understood... concepts: view state, value conversion, commands for performing operations on the model. As originally
    Posted to Tales from the Smart Client (Weblog) by JohnGossman on October 9, 2005
  • Introduction to Model/View/ViewModel pattern for building WPF apps

    Model/View/ViewModel is a variation of Model/View/Controller (MVC) that is tailored for modern UI... person than is the business logic or data backend. Model/View/ViewModel is thus a refinement of MVC... and language, into the very familiar modern environment of Web and now Avalon development. Model/View
    Posted to Tales from the Smart Client (Weblog) by JohnGossman on October 8, 2005
  • But what about ValueConverters?

    Chris mentions just using ValueConverters to adapt the Model to the View instead of this complex Model/View/ViewModel stuff. I should have made it clear, the ViewModel contains ValueConverters... to push it either into the View, the Model or put it somewhere else. We call that someplace else
    Posted to Tales from the Smart Client (Weblog) by JohnGossman on October 9, 2005
  • Confusion over definition of Controller in MVC

    I've got a frustrated anonymous poster who complains that my definition of ViewModel in Model/View..., the Controller was responsible for mapping Input to the Model and the View. But according to the Cocoa... the application’s view objects and its model objects." It appears Cocoa also recommends dividing the Controller
    Posted to Tales from the Smart Client (Weblog) by JohnGossman on October 12, 2005
  • Further reflection on PresentationModel

    . The pattern is very similar to Model/View/ViewModel. The interesting part is where Fowler started... between Presentation Model and view. It's simple code to write, but I always like to minimize... to do to push changes from the View back into the Model. Chris describes this well in the data-binding
    Posted to Tales from the Smart Client (Weblog) by JohnGossman on October 11, 2005
  • Whats a controller anyway?

    in MVC to use the Observer pattern so the View does not corrupt the Model with unnecessary view concepts. The Controller and View however talk to each other "directly" and generally have two way knowledge. M/V/VM uses data-binding to implement the Observer pattern not only between Model and View
    Posted to Tales from the Smart Client (Weblog) by JohnGossman on October 22, 2005
  • The PresentationModel pattern

    to read it a couple of times and think about the subtleties, but it is very close to the basic Model/View/AbstractView version of Model/View/ViewModel I mentioned. Fowler even speculates on whether .NET
    Posted to Tales from the Smart Client (Weblog) by JohnGossman on October 11, 2005
  • First try at a ViewModel for the example

    In the first iteration of this example, I databound the View directly to the Model. While... business logic in the view layer: the code that adds and removes things from the Model. Instead, we... through the list you automatically get a detail view of the selected item. However, the Add and Remove
    Posted to Tales from the Smart Client (Weblog) by JohnGossman on February 27, 2006
1 2 3 Next >

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker