021 RR REST Done Right with Steve Klabnik




The Ruby Rogues show

Summary:  Panelists Avdi Grimm (twitter github blog book) Charles Max Wood (twitter github Teach Me To Code) David Brady (blog twitter github ADDcasts) James Edward Gray (blog twitter github) Steve Klabnik (blog twitter github) Josh Susser (twitter github blog) Discussed in this Episode What is REST? Addressability AJAX Architectural style for building systems Fielding's REST Paper Client/Server Stateless Caching Uniform Interface Code on Demand HATEOAS HTML yields a larger payload than a binary protocol Stateless enables scaling because with all required information in the request it can go to any server prepared to handle it. Cookie-based sessions lean more toward stateless The PUT HTTP verb is misconstrued by Rails PUT does not mean "edit" it's an "upsert" (create or update) PUT is idempotent POST is more generic and non-idempotent Powerful Caching You are supposed to PUT the entire resource rather than the delta. Picks Confreaks (Josh) Klout (Josh) Ruby Koans (Avdi) Ruby Dcamp (Avdi) barcamp (Avdi) rails camp (Avdi) Execution in the Kingdom of Nouns (Steve) Haters gonna HATEOAS (Steve) Destroy All Software (Steve) Yahoo - REST-Discuss (Steve) Stevey's Drunken Blog Rants™ (Steve) Representational State Transfer (REST) (David) Untangled (Steve) Class Construction in C and C++ (David) Structure and Interpretation of Computer Programs (David) Structure and Interpretation of Computer Programs, Second Edition (David) Restful Web Services (James) Open Courseware of SICP: Structure and Interpretation of Computer Programs (David) Google Docs version: Structure and Interpretation of Computer Programs (David) PDF: Structure and Interpretation of Computer Programs (David) Jim Weirich on SICP at Gogaruco 2010 (Josh) Stack Overflow (Charles) Battlestar Galactica (Charles)