~/talk

MORE THAN A TEMPLATE ENGINE

Talkat PyCon Ukraine 2014 · 2014-11-01..11-02· [web-platform]
links:none on file
slides:none on file

Company CMS moves from raw templates to a structured, XML-style page description called promar XML that designers can edit without touching HTML; back end maps named blocks to functions via decorator-based block functions and renders Mako fragments, preserving a small global context and injecting per-block data. The system uses preprocessors/postprocessors, dependency injection, and recursive rendering to avoid duplicate DB queries, supports mobile and landing-builder variants, lets external partners supply layouts safely, and has been rolled out incrementally across hundreds of sites with successful gradual redesigns.

AI-written summary · about

  1. 0:00Introduction to template engines
  2. 4:57Problems with old CMS approach
  3. 9:32Introducing Promark markup language
  4. 12:00Template rendering with decorators
  5. 15:13Page structure and block constraints
  6. 17:17Recursive rendering process
  7. 21:13Handling generators and mobile versions
  8. 24:03Global context and dependency injection
  9. 26:35Outsourcing layout to partners
  10. 28:47Future of template systems
~/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.