CRUD Presentation

The slides from my CRUD Presentation to nyc.rb are now up. Lee Nussbaum snagged the audio, so I’ll sync that up over the next few days and post that too. If you’ve seen DHH’s presentation, this one is pretty much the same thing. In fact, many of the slides look fairly similar. I hope you don’t mind, DHH :-).


  1. jakehow said,

    July 27, 2006 @ 11:03 am

    He trotter, here is my CRUDController I was telling you about at the last meeting.

  2. CRUD and Shared Controllers said,

    July 30, 2006 @ 3:26 pm

    [...] CRUD and Shared Controllers: ” Trotter Cashion recently put on a great presentation for the nyc.rb crew, bringing the good word of CRUD and REST to the masses. After DHH’s presentation at RailsConf, I started thinking that these ideas open up a new place to remove duplication. Almost all controllers are going to end up having extremely similar actions, and you are going to be typing and re-typing the 7 magic actions( see Trotter’s presentation) over and over again. When I researched this after I got home I came accross Derek Sivers Shared Controller example on the rails wiki, and have borrowed liberally from it to come up with my own CRUDController. 9c2879f2ac76e8ebe51d2b280949af72 Now when you create a new controller, just inherit from CRUDController, like so: f5ff7cadb7500efafb1c0cd57b82422d You will get all of the basic CRUD actions for free, and they all give @contact or @contacts (in this example) to your view layer automagically. How is that for convention over configuration. I just put the respond_to stuff in there and I dont have a ton of ajax or any xml queries in my app as of yet, so obviously this could be expanded for more functionality in different situations. ” [...]

  3. adam said,

    September 14, 2006 @ 1:02 am

    Hey thanks for posting this i look foward to the audio.

    One question, is there a good source for starting out with RESTful-i-fying an app. I have the simply_restful plugin as im not on the edge and was hoping to create a restful app example to play with. Perhaps a like to a good tutorial?

    For those in a similar position i found the following useful:

  4. links for 2007-05-01 at überthings, inc. said,

    May 1, 2007 @ 6:31 pm

    [...] life-coding » Blog Archive » CRUD Presentation Fantastically CRUDdy presentation. Bravo. (tags: data CRUD rails rest tutorial howto) [...]

RSS feed for comments on this post · TrackBack URI

Leave a Comment