wood burning stoves
The moose likes Ruby and the fly likes iPhone and REST - what's the big deal? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Ruby
Bookmark "iPhone and REST - what Watch "iPhone and REST - what New topic

iPhone and REST - what's the big deal?

Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Ben, you've dedicated a whole chapter to developing something for the iPhone. Why is that? I realize that iPhone is a cool new thing (see, I picked it up from the table of contents!) but is there something specific about iPhone application development and REST? Are the programming concepts available or recommended conventions somehow favorable or more suitable to a RESTful interface compared to a plain old get-and-post-requests-is-all-I-need interface?

[Disclaimer: I know nothing about iPhone application development]

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Ben Scofield

Joined: May 20, 2008
Posts: 29
There isn't anything about REST itself that makes the iPhone project a natural one (though wouldn't it be great if Mobile Safari were the first popular browser to support HTTP verbs other than GET and POST?) I've actually used that chapter to highlight more precisely some of the features of Rails 2 that support RESTful development, like the ability to send different information down to the browser based on request format.
Tina Ma
Ranch Hand

Joined: Nov 29, 2007
Posts: 198
Also, about the part on Facebook. Will the book tell me what technique is being used when I am customizing my Facebook profile? Or will it show me some new cool ways to customize with my ideas?

SCJP 1.4, SCWCD 1.4
Ben Scofield

Joined: May 20, 2008
Posts: 29
The Facebook chapter of the book deals with exposing your RESTful application to the Facebook audience, using the FB application platform. It shows how to customize a standard Rails application for the particular challenges and opportunities Facebook brings, as well as how to use the ActiveResource library to create a Facebook-oriented wrapper for an existing site.
Nikos Pougounias
Ranch Hand

Joined: Jan 16, 2008
Posts: 110
A friend of mine plans to buy the new iPhone. I'm looking forward to deploy a RoR project on it Chapter 6 is such a cool concept; Bravo Ben.
[ June 12, 2008: Message edited by: Nikos Pugunias ]

Nikos' Java blog
I agree. Here's the link: http://aspose.com/file-tools
subject: iPhone and REST - what's the big deal?
It's not a secret anymore!