際際滷

際際滷Share a Scribd company logo
About me
 弜鏝 Im Mark Anthony Cadag
 My prized possession
  Panda my cat
 What else
  I like Cooking
 癌鏝 I like Biking
  I like jogging
Design Patterns
 Best Practices
 Relationship between classes and objects
 Speed up development
 Programming independent
What is your Goal?
 Scalability
 Maintainability
 Testable
What is your Goal?
 Scalability
 Add new features quickly
 Maintainability
 No spaghetti code
 Dont cross streams
 Testable
 Easy to mock
Classic Android
 Pros
 Programming with your eyes closed
 Cons
 Activites/Fragments quickly become large
 All logic inside activity, unit testing impossible
 Painful to make changes
About MVVM
 Also known as model-view-binder and was created by Microsoft architects Ken Cooper and John
Gossman.
 MVVM is not an architecture pattern but a design pattern
 Not a silver bullet to solve all design issue.
MVVM
 Pros
 Testable
 Less code
 Cons
 Binding isnt always appropriate
 Overkill for simpler UIs
MVVM (Model-View-ViewModel)
Why?

More Related Content

MVVM.pptx

  • 1. About me 弜鏝 Im Mark Anthony Cadag My prized possession Panda my cat What else I like Cooking 癌鏝 I like Biking I like jogging
  • 2. Design Patterns Best Practices Relationship between classes and objects Speed up development Programming independent
  • 3. What is your Goal? Scalability Maintainability Testable
  • 4. What is your Goal? Scalability Add new features quickly Maintainability No spaghetti code Dont cross streams Testable Easy to mock
  • 5. Classic Android Pros Programming with your eyes closed Cons Activites/Fragments quickly become large All logic inside activity, unit testing impossible Painful to make changes
  • 6. About MVVM Also known as model-view-binder and was created by Microsoft architects Ken Cooper and John Gossman. MVVM is not an architecture pattern but a design pattern Not a silver bullet to solve all design issue.
  • 7. MVVM Pros Testable Less code Cons Binding isnt always appropriate Overkill for simpler UIs