~/talk

Isomorphic templating with Spring Boot, Nashorn and React

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

Spring Framework 4.2 adds script templating that runs JavaScript template engines on the JVM via Nashorn (or Jython/JRuby) and integrates with Spring MVC and Spring Boot; example stack uses Handlebars/React loaded from webjars, compiled with Gradle, server-rendered to HTML and then rehydrated on the client with React and Server-Sent Events for live updates. Benchmarks show simple Handlebars at 500 pages/sec without cache and 6,000 pages/sec with cache; concurrency requires choosing shared engine vs per-thread engine to avoid global-state races.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:14What isomorphic means
  3. 5:30Nashorn templating in Spring
  4. 10:49Handlebars with Spring MVC
  5. 29:45React introduction
  6. 34:40Building isomorphic app with React
  7. 43:23Live demo of React app
  8. 53:34Future of isomorphic apps
  9. 57:32Conclusion and Q&A
~/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.