1 / 9

MVC vs MVP vs MVVM

MVC vs MVP vs MVVM. No one in the world Ever gets what they want And that is beautiful*. Chris McLean. He’z just zis guy you know** MCT, MCPD Owner – Code Ninja Inc. Custom code, Custom Training Also, Some legos. Twitter: @ chrismclean Blog: http://codeninjainc.com

orpah
Download Presentation

MVC vs MVP vs MVVM

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MVC vs MVP vs MVVM No one in the world Ever gets what they want And that is beautiful*

  2. Chris McLean He’z just zis guy you know** MCT, MCPD Owner – Code Ninja Inc. Custom code, Custom Training Also, Some legos

  3. Twitter: @chrismclean Blog: http://codeninjainc.com Chris.mclean@codeninjainc.com

  4. Where did these come from? • MVC – Smalltalk , 1970s, Xerox PARC • MVP – C++, Taligent 1990s • MVVM – Microsoft, C#, 2000s • *** Reindeer Flotilla Setec Astronomy

  5. MVC • No Databinding • Used mainly in HTML • Variations in strength of Controler & View. • Then let's head on down into that cellar and carve ourselves a witch. ****

  6. MVP • Data Binding • Interfaces • Variations in strength of Presenters & View • No. I just like to read the T.V. Guide. Read the T.V. Guide, you don't need a t.v. *****

  7. MVVM • Data Binding!!! • Each layer is an adapter for the layer below. • XAML / HTML can allow for ‘empty’ Views with next to no code behind. • Big Kahuna Burger. That's that Hawaiian burger joint. I hear they got some tasty burgers. I ain't never had one myself. How are they? *6

  8. Other common patternsTANSTAAFL *7 Command IOC Inversion of Control Allows for loser binding between layers of a pattern • Databound to model • Updates it’s state based on Model • Allows for multiple UI bits to call the same chunk of code • Think Ribbon Button + Pop Up menu + Keyboard Shortcut

  9. * Don’t Lets Start – TMBG ‘86.** Gag Halfrunt, ZaphodBeeblebrox’s brain care specialist.*** Reindeer Flotilla – Kevin Flynn’s password in TRON, Setec Astronomy – Code name for crypto breaker in Sneakers.**** Ash – Evil Dead 2***** Grandpa – Lost Boys*6 – Jules Winnfield, Pulp Fiction *7 – There Ain’t No Such Thing As A Free Lunch – Robert Heinlein, The Moon Is A Harsh Mistress

More Related