MVVM vs MVP

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
Aydar
October 10, 2017

MVVM vs MVP

Presentation for the lightning talk on spikeweek at Freeletics

Aydar

October 10, 2017

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

27 slides
  1. Problems with MVC Activity/UIViewController is a “God” class Business logic

    is mixed with UI Hard to reuse Hard to implement tests
  2. • Handles user actions from View • Gets data from

    Model • Updates data in Model • Business logic • Provides updated/processed data to View Presenter/ViewModel Responsibilities ——————————————————— • Communicates with Coordinator
  3. Business logic is decoupled from UI Easy to maintain Easy

    to test Easy to reuse components MVP/MVVM-C advantages

More Decks by Aydar

Other Decks in Programming