PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Lorna Mitchell's Blog: Tips on Writing an API for a Smartphone App

Note: This article was originally published at PHPDeveloper on 5 May 2012.
PHPDeveloper

Lorna Mitchell has a recent post to her blog with some handy tips for building an API for a smartphone app and some key points to focus on.

Yesterday, I saw this tweet: "@lornajane @nabeels tips on starting to write an API to interact with Smartphone App?" I have lots of advice for Olly (whom I know personally) but there's no way it will fit into a tweet! So here it is, in rather longer form :)

She touches on five different things to help you on the road to success:

  • Be consistent
  • Fail really really excellently
  • Keep it tidy
  • Recommendations for using JSON, a RPC format and understanding HTTP
  • Some tools to help you in your development (debugging)