~/talk

Djangular

Talkat PyOhio 2014 · 2014-07-26..07-27· [javascript, django]
links:none on file
slides:none on file

Implements the Django tutorial polls app as a REST backend and a single‑page frontend, using Django Rest Framework serializers and class‑based API views (list/create, retrieve, update) and the browsable API; frontend uses AngularJS + CoffeeScript with services that model questions/choices, a custom directive for percentage progress bars, CSRF header injection, and ui‑router state resolves to preload data. Demo shows voting updates immediately in the UI while PUTting votes to the API; full source is published on GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 0:55Backstory
  3. 2:20Problem
  4. 3:04Solution
  5. 3:51Django Rest
  6. 4:26Django Rest Framework
  7. 5:36Question Model
  8. 6:05Django Rest Serializers
  9. 8:12Django Choice Update Views
  10. 9:47CoffeeScript
  11. 11:26Angular
  12. 11:58Coupled DOM
  13. 12:50Decouple ClientServer
  14. 14:10First Steps
  15. 16:15Initial Template
  16. 19:39QuestionFactory
  17. 20:45Choice
  18. 21:35States
  19. 22:57Question Details
  20. 23:30Controllers
  21. 25:25Templates
  22. 25:51Question List Template
  23. 26:24Question Detail Template
  24. 28:40Choice Percentage
  25. 30:42Demo
  26. 35:52Project Structure
~/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.