Presentation is loading. Please wait.

Presentation is loading. Please wait.

MVC vs MVP vs MVVM NO ONE IN THE WORLD EVER GETS WHAT THEY WANT AND THAT IS BEAUTIFUL*

Similar presentations


Presentation on theme: "MVC vs MVP vs MVVM NO ONE IN THE WORLD EVER GETS WHAT THEY WANT AND THAT IS BEAUTIFUL*"— 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 BLOG:

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 ControllerModelView  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. ***** UI interactions Databound View Controls view Mediates Model Presenter Just the facts No ui Model

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 View - UIVM - Adapter Model – Just the facts

8 Other common patterns TANSTAAFL *7 COMMANDIOC 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 Inversion of Control Allows for loser binding between layers of a pattern

9 * Don’t Lets Start – TMBG ‘86. ** Gag Halfrunt, Zaphod Beeblebrox’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


Download ppt "MVC vs MVP vs MVVM NO ONE IN THE WORLD EVER GETS WHAT THEY WANT AND THAT IS BEAUTIFUL*"

Similar presentations


Ads by Google