RailsConf 2011, David Heinemeier Hansson
summary
Rails 3.1 introduces the asset pipeline that enforces structure (empty folders) and a load path so assets live in app/assets, lib/assets, vendor/assets instead of one junk drawer; it adds CoffeeScript and Sass defaults, a jQuery-rails gem, Sprockets preprocessing, and bundler-managed asset gems. Assets precompile with MD5 fingerprinting via rake assets:precompile, eliminate param cache busting, and support compressors and gzip. PJAX, Backbone/Eco and server-rendered JS templates let apps mix page replacement, localized rich widgets, and full client MVC where needed.
AI-written summary · about
chapters (27)
- 0:00Acid Pipeline
- 2:43Basecamp
- 6:36Rest
- 8:31Secondclass citizens
- 9:48Empty folders
- 12:13Asset Pipeline
- 13:29Signal ID Gem
- 16:59jQuery Rails Gem
- 18:53Load Path
- 20:06CoffeeScript
- 22:57Active Support
- 24:05Whitespace
- 24:59CoffeeScript in Ruby
- 28:22Sass
- 30:24Ryan Singer
- 30:52SAS
- 32:40Resource Generator
- 33:40Tilt
- 38:17Soft dependencies
- 39:43Application CSS
- 40:54Application File
- 42:03Compression
- 42:48Rails Asset Pipeline
- 45:10Mobile Apps
- 48:01No JS
- 53:49PGX
- 56:47May
related talks
29mExtending Rails 3
38mRails 3.1 Whirlwind Tour
20mMaster the Rails Asset Pipeline: Best Practices for Apps & Gems
01h 09mRails 3 ...and the real secret to high productivity
34mFrom Sprockets to js-bundling: Evolution of JavaScript tooling in Rails!
23mRails Frontend Evolution: It Was a Setup All Along
34mSurviving the Big Rewrite
19mMaster the Rails asset pipeline
