~/talk

Building Web Apps and APIs in R with Ambiorix

Talkat posit::conf(2025) · 2025-09-16..09-18· [web-platform, api-design]
github:JohnCoene
slides:none on file

Ambiorix is an R web framework with Express-style syntax that gives full control of the request-response cycle, not a Shiny replacement. It builds multi-page sites and JSON APIs from the same R functions, demoed serving mtcars, iris, airquality as HTML and JSON. Handlers take request and response objects, routes support colon-style parameters and query limits, middleware is available, and proper HTTP status codes (400/404/500) are set programmatically. Links and code on GitHub.

AI-written summary · about

  1. 0:00Introduction to Ambiorix
  2. 1:05Ambiorix vs Shiny
  3. 2:56Why Ambiorix for multi-page and APIs
  4. 4:48Customization trade-offs
  5. 5:11HTTP request-response cycle
  6. 6:13Demo: data dashboard
  7. 8:46Hello world in Ambiorix
  8. 9:50HTTP methods GET POST PUT DELETE
  9. 10:54Unified logic with HTML and JSON
  10. 13:26Dynamic routes with parameters
  11. 14:54Query parameters for API flexibility
  12. 17:01HTTP error responses and status codes
  13. 18:28404 and error handling
  14. 19:15Getting started with Ambiorix
~/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.