Book description
Since David Heinemeier Hansson’s keynote speech at RailsConf 2006 and the release of Rails 1.2 in early 2007, Representational State Transfer, better known as REST, has taken the Rails world by storm. If you’re new to REST, this short cut will help you decide which parts of the REST paradigm you want to introduce to your application. If you’re a developer with more RESTful experience, this short cut will introduce you to some refactorings that will give your application a cleaner, leaner code base, while also serving as a reference to much of the functionality REST has brought to Rails.
Section 1: What This Short Cut Covers 3
Section 2: What Is REST? 6
Section 3: Refactorings 10
Section 4: RESTful Controllers 31
Section 5: RESTful Routes 48
Section 6: RESTful Views 54
Section 7: RESTful Tests 59
Section 8: RESTful Authentication 61
Section 9: Consuming RESTful APIs 63
Resources 72
About the Author 73
Table of contents
- Title Page
- Copyright Page
- Contents
- Section 1. What This Short Cut Covers
- Section 2. What Is REST?
- Section 3. Refactorings
- Section 4. RESTful Controllers
- Section 5. RESTful Routes
- Section 6. RESTful Views
- Section 7. RESTful Tests
- Section 8. RESTful Authentication
- Section 9. Consuming RESTful APIs
- Resources
- About the Author
- Footnotes
Product information
- Title: Rails Refactoring to Resources: Using CRUD and REST in Your Rails Application
- Author(s):
- Release date: April 2007
- Publisher(s): Addison-Wesley Professional
- ISBN: None
You might also like
book
Rails™ AntiPatterns: Best Practice Ruby on Rails™ Refactoring
The Complete Guide to Avoiding and Fixing Common Rails 3 Code and Design Problems identifies these …
book
Learn Rails 6: Accelerated Web Development with Ruby on Rails
Effectively learn and apply software development and engineering techniques to web application development using Rails 6 …
book
Beginning Rails 6: From Novice to Professional
Springboard your journey into web application development and discover how much fun building web applications with …
video
Learn Ruby the Hard Way
The media elements for Learn Ruby the Hard Way demonstrate key points in the text.