~/talk

jQuery for Grails Developers

Talkat Great Indian Developer Summit 2015 · 2015-04-21..04-24· [javascript, java]
slides:none on file

Builds a small Grails "tasks" app and shows concrete code: uses formRemote + jQuery to post a create, controller renders a JSON payload containing the single-task HTML produced by render template, client inserts that HTML into the table at the correct alphabetical position using a server-returned previousTaskId, then highlights it with jQuery UI effects. Demonstrates stepwise debugging in the browser console and shows Grails/Spock tests (including mockForConstraintsTests) to validate constraints and controller behavior; the approach works end-to-end.

AI-written summary · about

  1. 0:00Intro
  2. 1:35Example
  3. 5:23asynchronous calls
  4. 9:50displaytask template
  5. 12:54add jQuery
  6. 13:58slow down
  7. 16:40farm remote
  8. 20:56console
  9. 22:39selector
  10. 23:12selectors
  11. 23:44classes
  12. 24:18Dont do this
  13. 26:12Get the data
  14. 27:48Where to put the row
  15. 34:15Row
  16. 41:59Feedback
  17. 53:09Lessons
~/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.