Hi, Is there a book or screencast or documentation that provides best practices for creating an API for a RoR application? I have to build an API from scratch and I have no idea where to start. -- M. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
If you haven''t read the docs for ActiveResource, I''d start there. On Oct 9, 4:14 pm, Marcelo Barbudas <nos...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > Is there a book or screencast or documentation that provides best > practices for creating an API for a RoR application? > > I have to build an API from scratch and I have no idea where to start. > > -- > M.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> If you haven''t read the docs for ActiveResource, I''d start there. >One of the tasks of my project is that I have to create a PHP library that people can use to connect to this application. Is there a library that implements a PHP - RoR XML connection? -- M. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I haven''t seen one, but I haven''t looked. ActiveResource is (well, kind of) an object mapping framework from RoR to XML. I would start with the XML it generates, and build the PHP from there. On Oct 10, 3:22 am, Marcelo Barbudas <nos...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > If you haven''t read the docs for ActiveResource, I''d start there. > > One of the tasks of my project is that I have to create a PHP library > that people can use to connect to this application. > > Is there a library that implements a PHP - RoR XML connection? > > -- > M.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Marcelo, Marcelo Barbudas wrote:> Is there a book or screencast or documentation that provides > best practices for creating an API for a RoR application? > > I have to build an API from scratch and I have no idea where > to start.I highly recommend "RESTful Web Services". Amazon has it http://www.amazon.com/RESTful-Web-Services-Leonard-Richardson/dp/0596529260/ ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1223669754&sr=1-1 Best regards, Bill --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---