ModelViewViewModel
Felipe PimentelFelipe Pimentel
Felipe PimentelFelipePimentellfelipejfp@hotmail.comfpimentel88felipe.pimentel@2pc.com.brhttp://felipepimentel.net
Felipe Pimentel
AgendaO que é?O que faz?Quando usar?Variações?Light ToolkitDemo!!!
“Mais outro M* alguma coisa?”MVPMVCMV?????
O que é MVVM?Padrão de arquitetura de apresentaçãoSeparando responsabilidadesIsolar designers e desenvolvedores?Facilita os testes
Por que do MVVM?Fatores tecnologicosDatabindsINotifyPropertyChangedIValueConverterModelo de eventos utilizando ICommand
MVVMModelViewDataBindingPresentation Model(ViewModel)
ModelMVVMRepresents the dataThe entityNot required to know where it gets its data fromFrom a WCF service. WCF RIA Services, etcMay contain validation
ViewMVVMThe screen, the UI, the UserControl in SilverlightHandles UI look and feelPresentation of informationCommunicates with ViewModel through bindings
ViewModelMVVMConhecido por PresenterModelMain source of logic for the MVVM triadConnects the Model to the ViewAbstracts the ViewPublic properties that are bound to a ViewINotifyPropertyChanged and INotifyCollectionChanged talk to the View through bindingsListens for changes from the View through bindingsInvokes services to communicate outside the MVVM triad
MVVMDEMO!!!!DEMO!!!DEMO!!DEMO!
ReferênciasJohn Papa - http://johnpapa.net/http://www.galasoft.ch/mvvm/getstarted/http://msdn.microsoft.com/en-us/magazine/dd419663.aspxhttp://virtualdreams.com.br

MVVM