~/talk

Restful Grails 3

Talkat SpringOne2GX 2015 · 2015-09-14..09-17· [java, web-platform]
links:none on file
slides:none on file

Grails 3 claims to cut boilerplate and demo shows it: @Resource auto‑exposes CRUD endpoints and URL mappings are generated so a domain class plus annotation yields full REST CRUD with curl-tested JSON/XML. Compile‑time metaprogramming creates no‑arg controller entrypoints, data binding and validation run before user code, and bindData(request) uses body JSON/XML or params automatically. Content negotiation via respond/withFormat and pluggable renderers let apps customize JSON/XML output; allowedMethods enforces HTTP verbs for safety.

AI-written summary · about

  1. 0:00Introduction
  2. 4:32Grails Domain
  3. 4:52URL Mapping
  4. 7:36Retrieve JSON
  5. 10:18Generate Default Scaffolding
  6. 10:30Controller Actions
  7. 12:57Allowed Methods
  8. 19:27Data Binding
  9. 26:03Resource Annotation
  10. 35:18Response to Requests
  11. 43:07Customizing JSON
  12. 44:43Custom Render
  13. 49:10Renderer Name
  14. 53:28restfulController
~/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.