mvvm irl

17
MVVM IRL

Upload: radu-iscu

Post on 28-Jan-2015

114 views

Category:

Technology


1 download

DESCRIPTION

A short presentation on the advantages and challenges faced when working with MVVM in real world applications.

TRANSCRIPT

Page 1: MVVM IRL

MVVM IRL

Page 2: MVVM IRL

What is MVVM?

Page 3: MVVM IRL

The promise of MVVM

A declarative way to do applications

Very little code

Fast application development

Page 4: MVVM IRL

What does the model do?

Page 5: MVVM IRL

What does the view do?

Page 6: MVVM IRL

What does the view-model do?

Page 7: MVVM IRL

What does the binder do?

Page 8: MVVM IRL

Simple right?

Page 9: MVVM IRL

How to do it the wrong way

Page 10: MVVM IRL

Fat view-model

Page 11: MVVM IRL

Code in the view

Page 12: MVVM IRL

Code in the view

Page 13: MVVM IRL

Code in the view

Page 14: MVVM IRL

Code in the view

Page 15: MVVM IRL

!MVC with data-binding

Page 16: MVVM IRL

Takeaways

Very little code

Fast application development

If it’s not declarative, you’re doing it wrong

Page 17: MVVM IRL

Support

Windows phone code samples from:https://github.com/linkerro/CodeCamp

Knockout tutorials:http://learn.knockoutjs.com/#/?tutorial=intro