Add to your personal schedule

Writing resources_controller: Discovering REST Patterns in Rails

Ian White (Argument from Design)
16:35 Thursday, 4-09-2008
General
Location: Saal Maritim B

I wrote resources_controller) in the beginning of 2007 to DRY up RESTful controllers. In its first iteration it simplified controllers by providing CRUD actions, and loading enclosing resources.

Since then it has evolved to deal with various RESTful issues such as handling polymorphic and singleton resources, referring to the resource or collection in abstract way, and providing a way of referring to resource urls in a ‘relative’ fashion.

In this talk I will show some of the RESTful patterns that emerged, their implementation, and how Rails helps (but sometimes gets in the way).

Photo of Ian White

Ian White

Argument from Design

Ian began in the early 90s with Smalltalk-80 and life was good. He then had to write lots of things in C in a big company, and decided to to philosophy for a while. Returning to computers to earn some money, he tried writing web apps in php, which was no fun. Since using Rails, and ruby (which is almost as much fun as smalltalk), life is good again.

Ian is Partner and Lead Developer at Argument from Design. He occasionally writes stuff on his blog.

News and Coverage
co-presented by Ruby Central, Inc. O'Reilly

Diamond Sponsors

  • Engine Yard
  • Sun Microsystems

Gold Sponsors

  • Brightbox
  • ELC Technologies

Premier Media Partner

  • T3N

Sponsor Opportunities

For information on exhibition and sponsorship opportunities at RailsConf Europe, contact Yvonne Romaine at yromaine@oreilly.com

Download the RailsConf Europe Sponsor/Exhibitor Prospectus

Media and Promotional Opportunities

Download the Media & Promotional Partner Brochure (PDF) for more information on trade opportunities with O'Reilly conferences, or contact mediapartners@ oreilly.com.

Program Ideas

Post your suggestions for speakers, topics, and activities on the RailsConf Europe wiki or send an email to railseurope-idea@ oreilly.com.

Press and Media

For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com.

Contact Us

View a complete list of RailsConf Europe Contacts