Other then digging through the edge rails docs and trying to put it all together that way, is there a good resource for using REST in edge rails? It''s what I don''t know that I''m worried about. I don''t want to get too far into the implementation only to find out I missed something rather important. Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Roderick van Domburg
2007-Aug-09 08:45 UTC
Re: Getting up to speed on rest with edge rails
Hi Chris,> Other then digging through the edge rails docs and trying to put it > all together that way, is there a good resource for using REST in edge > rails? It''s what I don''t know that I''m worried about. I don''t want > to get too far into the implementation only to find out I missed > something rather important.Using REST in Edge Rails isn''t all too different from what''s currently in Rails 1.2 -- at least when you look at it from a RESTful development perspective. Rethinking how you build up controllers around resources really is what it''s all about. The rest is technological niceties and syntactic sugar. A couple of pointers: - AWDwR 2.0 has a short but sweet introduction into RESTful development. - Edge Rails no longer has "plain scaffolds" and "resource scaffolds". It''s a scaffold, period, and it''s all good and RESTful. - Edge Rails has a new syntax for nested resources that is explained very well in config/routes.rb. (Debate about nested resources rages on in Ruby-core.) - There are a lot of blogging posts on "refactoring rest". One article by Scott Raymond in particular shows how you can rethink a fairly large-scale application into the world of REST. - Finally, if you are looking to consume resources as a web service, there are excellent blog postings and conference slides available on ActiveResource. That should get you started. Don''t worry about getting into the implementation to find out that you can do better. That''s one aspect of agility that''s a prize for a developer to have, and a thing to enjoy of Rails. Good luck in your RESTful journeys! :-) -- Roderick van Domburg http://www.nedforce.nl -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---