~/talk

Great single page apps need great backends

Talkat SpringOne2GX 2014 · 2014-09-08..09-11· [web-platform, api-design]
slides:none on file

Argues that reliable SPAs require disciplined backends: Spring 4, Spring Boot and Spring Security power consistent JSON error responses (limit to 200/500/400/401/403/404 plus a UUID error code), include user and developer messages and validation details, and map runtime exceptions to a single error POJO via @ControllerAdvice. Shows session handling with a custom x-spa-api-login header and auth handlers, uses Guava LoadingCache for shared immutable state, demos an echo/mock service, and cites a real app: ~160 tables, ~100k Java, ~20k JS, two devs to production.

AI-written summary · about

  1. 0:00Introduction and scope
  2. 4:28Defining the architecture
  3. 11:06Consistent error handling
  4. 37:37Managing Spring security
  5. 47:00URL space management
  6. 51:01Managing shared state
  7. 58:54Frontend and backend teamwork
~/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.