Building Web Apps and APIs in R with Ambiorix
summary
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
chapters (14)
- 0:00Introduction to Ambiorix
- 1:05Ambiorix vs Shiny
- 2:56Why Ambiorix for multi-page and APIs
- 4:48Customization trade-offs
- 5:11HTTP request-response cycle
- 6:13Demo: data dashboard
- 8:46Hello world in Ambiorix
- 9:50HTTP methods GET POST PUT DELETE
- 10:54Unified logic with HTML and JSON
- 13:26Dynamic routes with parameters
- 14:54Query parameters for API flexibility
- 17:01HTTP error responses and status codes
- 18:28404 and error handling
- 19:15Getting started with Ambiorix
related talks
23mIntegrating Web Apps
42mBuilding modular, scalable web apps? of CORS!
35mBuilding Ambitious APIs with Ruby
23mEmpowering Decisions: Advanced Portfolio Analysis and Management through Shiny
52mBuilding APIs
33mRack ‘em, Stack ‘em Web Apps
42mBuilding Better Web APIs with Rails
05mWebR: R compiled for WebAssembly and running in the browser
