~/talk

MVWTF: Demystifying Architecture Patterns

slides:none on file

Compares MVC, MVP, MVVM and MVI using a concrete task‑list implementation in Compose with coroutines, StateFlow and Android Architecture Component ViewModel, showing presenter vs viewmodel code, savedInstanceState vs ViewModel retention, and a state‑machine that emits state + side effects to fetch tasks. Claims MVVM is the practical default, MVI adds predictable transitions for many concurrent loads but costs boilerplate, and MVP is fine for quick prototypes or teaching; examples compile and demonstrate working state restoration.

AI-written summary · about

  1. 0:00Architecture patterns debate
  2. 1:04Why patterns matter in Android
  3. 2:28Problem with Activities
  4. 3:51What patterns really are
  5. 4:12Model-View-Controller explained
  6. 6:59Why MVC failed
  7. 9:47Model-View-Presenter and its benefits
  8. 15:48Why MVVM replaced MVP
  9. 19:21ViewModel vs MVVM
  10. 21:49MVVM state management issues
  11. 24:15Introducing Model-View-Intent pattern
  12. 30:35Comparing patterns
  13. 32:42Choosing patterns
  14. 35:10Final advice & Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.