• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
MVVM
 

MVVM

on

  • 1,794 views

 

Statistics

Views

Total Views
1,794
Views on SlideShare
1,794
Embed Views
0

Actions

Likes
1
Downloads
42
Comments
1

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • E ai Felipe, blz? Tem video desta apresentaçao, gostaria de ver a Demo, o conteudo é muito interessante..

    Valew e parabens..
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    MVVM MVVM Presentation Transcript

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