ModelViewViewModel<br />
Felipe Pimentel<br />Felipe Pimentel<br />
Felipe Pimentel<br />FelipePimentell<br />felipejfp@hotmail.com<br />fpimentel88<br />felipe.pimentel@2pc.com.br<br />http...
Felipe Pimentel<br />
Agenda<br />O que é?<br />O que faz?<br />Quando usar?<br />Variações?<br />Light Toolkit<br />Demo!!!<br />
“Mais outro M* alguma coisa?”<br />MVP<br />MVC<br />MV?????<br />
O que é MVVM?<br />Padrão de arquitetura de apresentação<br />Separando responsabilidades<br />Isolar designers e desenvol...
Por que do MVVM?<br />Fatores tecnologicos<br />Databinds<br />INotifyPropertyChanged<br />IValueConverter<br />Modelo de ...
MVVM<br />Model<br />View<br />DataBinding<br />Presentation Model<br />(ViewModel)<br />
ModelMVVM<br />Represents the data<br />The entity<br />Not required to know where it gets its data from<br />From a WCF s...
ViewMVVM<br />The screen, the UI, the UserControl in Silverlight<br />Handles UI look and feel<br />Presentation of inform...
ViewModelMVVM<br />Conhecido por PresenterModel<br />Main source of logic for the MVVM triad<br />Connects the Model to th...
MVVM<br />DEMO!!!!<br />DEMO!!!<br />DEMO!!<br />DEMO!<br />
Referências<br />John Papa - http://johnpapa.net/<br />http://www.galasoft.ch/mvvm/getstarted/<br />http://msdn.microsoft....
Upcoming SlideShare
Loading in...5
×

MVVM

1,687

Published on

1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total Views
1,687
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
44
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

MVVM

  1. 1. ModelViewViewModel<br />
  2. 2. Felipe Pimentel<br />Felipe Pimentel<br />
  3. 3. Felipe Pimentel<br />FelipePimentell<br />felipejfp@hotmail.com<br />fpimentel88<br />felipe.pimentel@2pc.com.br<br />http://felipepimentel.net<br />
  4. 4. Felipe Pimentel<br />
  5. 5. Agenda<br />O que é?<br />O que faz?<br />Quando usar?<br />Variações?<br />Light Toolkit<br />Demo!!!<br />
  6. 6. “Mais outro M* alguma coisa?”<br />MVP<br />MVC<br />MV?????<br />
  7. 7. O que é MVVM?<br />Padrão de arquitetura de apresentação<br />Separando responsabilidades<br />Isolar designers e desenvolvedores?<br />Facilita os testes<br />
  8. 8. Por que do MVVM?<br />Fatores tecnologicos<br />Databinds<br />INotifyPropertyChanged<br />IValueConverter<br />Modelo de eventos utilizando ICommand<br />
  9. 9. MVVM<br />Model<br />View<br />DataBinding<br />Presentation Model<br />(ViewModel)<br />
  10. 10. ModelMVVM<br />Represents the data<br />The entity<br />Not required to know where it gets its data from<br />From a WCF service. WCF RIA Services, etc<br />May contain validation<br />
  11. 11. ViewMVVM<br />The screen, the UI, the UserControl in Silverlight<br />Handles UI look and feel<br />Presentation of information<br />Communicates with ViewModel through bindings<br />
  12. 12. ViewModelMVVM<br />Conhecido por PresenterModel<br />Main source of logic for the MVVM triad<br />Connects the Model to the View<br />Abstracts the View<br />Public properties that are bound to a View<br />INotifyPropertyChanged and INotifyCollectionChanged talk to the View through bindings<br />Listens for changes from the View through bindings<br />Invokes services to communicate outside the MVVM triad<br />
  13. 13. MVVM<br />DEMO!!!!<br />DEMO!!!<br />DEMO!!<br />DEMO!<br />
  14. 14. Referências<br />John Papa - http://johnpapa.net/<br />http://www.galasoft.ch/mvvm/getstarted/<br />http://msdn.microsoft.com/en-us/magazine/dd419663.aspx<br />http://virtualdreams.com.br<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×