~/talk

Lightweight Web Services with Pyramid

Talkat PyCon Canada 2012 · 2012-11-09..11-11· [python, web-platform]
links:none on file
slides:none on file

Shows how to turn an existing Pyramid web app into a mobile-friendly API without rewriting: return Python dicts and plug in a JSON renderer so HTML views also serve JSON, reuse the same view for two routes by decorating the view twice, and handle RESTful collections with Cornice paired with Colander schemas to validate input and auto-generate docs. Reports converting enterprise XSD to Relax NG to validate XML payloads in days, and mentions ongoing work porting the ZODB BTree C code to Python 3.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 0:43About AGendalist Consulting
  3. 1:49Turning web apps into mobile APIs
  4. 2:35Pyramid's view and response basics
  5. 3:57Returning data instead of responses
  6. 4:40JSON for mobile and JS apps
  7. 6:28Dual route JSON and HTML views
  8. 7:51Simple JSON web services
  9. 8:58RESTful APIs with Cornice
  10. 10:25Cornice resource decorator
  11. 11:49Schema validation in Cornice
  12. 12:57Sprints and their purpose
  13. 13:38What happens at a Sprint
  14. 15:21Benefits of sprinting
  15. 16:02Pyramid's Python 3 porting goal
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.