~/talk

How to Build an E-Commerce Site with AMP

Talkat Google I/O 2019 · 2019-05-07..05-09· [web-platform, web-performance]
name:Alan Kent
links:none on file
slides:none on file

Shows a working AMP e-commerce site built from amp.dev templates and live data from WompMobile’s Campmor API, using amp-list + amp-mustache, amp-bind and amp-form to fetch, filter and mutate products; XHR batching reduces duplicate calls; build uses amp-html-autoscript and AMP Validator with Next.js for componentized pages. Cache issues get resolved with AMP Cache CORS headers and an AMP-redirect-to flow to move POSTs to the origin so cart mutations succeed; site functions end-to-end and matches real production patterns.

AI-written summary · about

  1. 0:00Start
  2. 33:35E-commerce components
  3. 33:56Presentation components
  4. 34:11Server side rendering AMP with Next.js
  5. 37:15Assembling
~/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.