~/talk

Surviving the Big Rewrite

Talkat RailsConf 2014 · 2014-04-22..04-25· [ruby-on-rails, web-platform]
slides:none on file

Describes extracting a realtime product from a monolithic Rails app into static single‑page sites built with middleman and served from S3/CDNs, reusing a sprockets asset gem (pull_of_assets) across projects. Replaces Flex with Backbone/js libraries, builds a custom streaming API with graceful fallback to short polling, demos booting the app from a floppy, reuses the same assets in a PowerPoint 2013 app, and reports Flash once ran on ~99% of machines.

AI-written summary · about

  1. 0:00Start
  2. 0:11Surviving the Big Rewrite
  3. 2:49Middleman is modular with a rich ecosystem of extensions
  4. 4:25Middleman is multi-environment aware
  5. 5:19A simple two step deploy process
  6. 11:38We broke the Flex app into its own project so that our Flex contractor could deploy independently from the Rails app team
  7. 14:42Our first single page HTML application
  8. 20:42To reduce latency, a Stream API was deployed to production
  9. 23:21Create a sprockets asset gem to share assets between apps
  10. 29:21Extract content from Rails app so marketing team can move faster
  11. 30:31Some dynamic components are still required
  12. 31:21Why bother with a static content website?
  13. 32:04a few things I didn't cover
~/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.