Matt Biddulph has just had an article published on xml.com, REST on rails. It’s a really great way of working, and I encourage closer scrutiny. And it shows off Rails at its best. I really look forward to playing with Rails more. I would like to implement PUT for that rest_resource method as well…
It also happens to be very similar to a system I wrote at work a couple of years ago using Perl and Class::DBI. The system we have at work is a bit more complicated and has more edge cases in the generated XML, particularly with regards to nesting. Looking at that article makes me wonder if we couldn’t simplify the design our protocol… But it’s already in use by so many clients, I think that would be difficult at this point.