~/talk

Model-View-Controller (MVC) through the ages and in Django

Talkat DjangoCon Europe 2023 · on Monday, 2023-05-29· at 11:45· Music Hall· [software-architecture, django]
links:none on file
slides:none on file

MVC retains practical value: it maps to Django as template = view and Django view = controller, with models sitting in models.py. Historical examples span Smalltalk (1979) to Java Swing and modern Django. Concrete advice: extract query logic (e.g. latest_book lookup) into model methods to avoid duplication and improve discoverability. Notes on tooling: model managers and custom QuerySets belong to the model, DRF serializers act like views, select_related/prefetch remain a thorny performance edge case (AutoPrefetch only partial fix).

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 0:45History of MVC pattern
  3. 6:35MVC in 2013 and Django
  4. 9:05MVC components in Django
  5. 12:13MVC as mental representation
  6. 14:41MVC family of patterns
  7. 16:07Why MVC matters in software
  8. 19:59Practical MVC in Django
  9. 23:13Q&A session
~/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.