~/talk

What is REST? Why is it Part of the Rails Way?

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

Claims Rails made REST mainstream around 2006 and that REST is simply HTTP plus resources = URLs, representations = JSON/HTML and metadata. Shows a working Rails app (teowaki.com) built “totally restful,” uses routes/resources, controllers with respond_to and headers, Jbuilder for JSON, and recommends Roar for hypermedia links. Demonstrates nesting vs members, status codes like 201/202, and argues resources should reflect public names not one-to-one DB models, which keeps APIs stable and versionable.

AI-written summary · about

  1. 0:00Introduction to REST
  2. 1:06Evolution of Web Services
  3. 3:25The Problem with SOAP
  4. 5:32The Rise of REST
  5. 7:21History and Definition
  6. 9:53Core REST Principles
  7. 12:11Resources and Representations
  8. 16:24HTTP Operations
  9. 18:39REST in Rails Routing
  10. 20:55Members and Nesting
  11. 24:37Naming Conventions
  12. 26:11Abstraction and Flexibility
  13. 28:36Controller Implementation
  14. 31:11Metadata and Templates
  15. 33:37Why Use REST
  16. 35:31Hypermedia and Conclusion
~/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.