This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Succeeding with AI and have Veljko Krunic on-line!
See this thread for details.
Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

iPhone and REST - what's the big deal?

 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ben Scofield
author
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
look! it's a bird! it's a plane! It's .... a teeny tiny ad
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic