[Rails] Re: How do I make an API for my rails app?

2009-02-04 Thread comopasta Gr
> Most applications with an API require a key (usually a unique and random > 16-26 character alphanumerical code) to confirm you are authorized to > access the account. I'm sure this key could be substituted by a username > and password (like twitterific for example). Once this native mobile ap

[Rails] Re: How do I make an API for my rails app?

2009-02-03 Thread Tony Tony
Billee D. wrote: > Hopefully I am not misunderstanding your intent here, so please excuse > me if I am missing something. > Hi Billee and thank you for the help! So far I have all of that pretty much learned. My question (and maybe I'm misunderstanding this greatly) is how to make an API for

[Rails] Re: How do I make an API for my rails app?

2009-02-03 Thread Billee D.
Hopefully I am not misunderstanding your intent here, so please excuse me if I am missing something. If you want an API for a Rails app then a RESTful interface is the way to go. In your controllers you need to add a respond_to directive inside each method for XML output: respond_to do |format|

[Rails] Re: How do I make an API for my rails app?

2009-02-03 Thread Tony Tony
I've done some quick searches on REST API as SOAP isn't recommended by the rails community. Came up with this site: http://hinchcliffe.org/archive/2008/01/10/16613.aspx I'll take a more in depth look later on. If anyone else has something to contribute, feel free! -Tony -- Posted via http

[Rails] Re: How do I make an API for my rails app?

2009-02-03 Thread Tony Tony
Thanks for the replies Mukund, Julian, and Comopasta! @Mukund - I consider it to be a wonderful app ;-) I see this app being similar and no more complicated than twitterific or tweetie on the iphone. I'm thinking a SOAP/REST interface is what I will need. Also, the increased visibility of the

[Rails] Re: How do I make an API for my rails app?

2009-02-03 Thread comopasta Gr
> So being close to release I started thinking of neat things I could do, > like making an iphone app. I haven't tried making my own iphone app yet > and don't look too forward to it honestly. So I was thinking of making > an API for my rails app and let others with more experience than me give >

[Rails] Re: How do I make an API for my rails app?

2009-02-02 Thread Julian Leviston
Really? Maybe updates? Maybe it's a game that has a 3d client for it? ;) lots Blog: http://random8.zenunit.com/ Learn rails: http://sensei.zenunit.com/ On 03/02/2009, at 3:56 PM, Mukund wrote: > > What does your Rails application do that other developers will be > interested in? If you ha

[Rails] Re: How do I make an API for my rails app?

2009-02-02 Thread Mukund
What does your Rails application do that other developers will be interested in? If you have some neat functionality that you want others to use as a library, then release it as a gem. If your entire application does something wonderful, put in a SOAP or REST interface to it so it can be host