~/talk

Rails Vs. The Client Side

Talkat RailsConf 2013 · 2013-04-29..05-02· [ruby-on-rails, javascript]
slides:none on file

Compares the Russian Doll server-rendered HTML approach (aggressive cache keys, Turbolinks, occasional JS) with a Rails API that returns JSON to a client MVC, shows code-level differences, and measures tradeoffs in speed, duplication, and complexity. Demonstrates an Ember map app where client-side state and interactions keep round trips low and work well, and a hybrid using ActiveModelSerializers that sends JSON but keeps server logic. Recommends choosing by representation stability, client interaction patterns, team skills, and caching needs.

AI-written summary · about

  1. 0:00Start
  2. 0:59I want my users to have a "rich client experience"
  3. 2:56The locus of innovation is in the client
  4. 4:32Hybrid JS App
  5. 10:53Avoiding Complex MVC Structures
  6. 11:57your application live?
  7. 14:49How can you best manage complexity?
  8. 15:35Simplicity is using simple structures
  9. 18:03Server-side uses simpler JavaScript structures
  10. 18:15distinct output modes
  11. 18:48But, business logic can be duplicated
  12. 20:58proportional to user clicks
  13. 21:22proportional to new data requirements
  14. 23:17Server style is optimized for least disruption to Rails
  15. 24:02Client style is optimized for simplicity of Server logic
  16. 25:07Is the representation of your data stable?
  17. 27:37components interact?
  18. 28:29What do you already have?
  19. 30:01Will a hybrid approach work?
  20. 31:38There's no excuse for re- downloading assets
  21. 32:12It'd help if the JS frameworks were more polished
~/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.