Good API Examples

62 views
Skip to first unread message

Nick Kuh

unread,
May 24, 2012, 6:59:09 AM5/24/12
to brighton-iph...@googlegroups.com
Hola Group

I've got a new client and we're currently scoping out the requirements for a new iPhone app project.

The iPhone app is going to have to talk to the client's web server. The client has quite a complex website and a login/registration system in place already.

What they don't have is any kind of API for the iPhone App to communicate with the server.

The app is going to need to enable login and new registration. Some of the data in the app will require authentication and some won't.

Client wants to start on the right foot with the API and has asked me for some good examples of existing well documented JSON APIs. And bizarrely enough I can't think of any! I've integrated my apps with plenty of APIs but none of them really stood out as great examples of best practices when sending/receiving data!

Any suggestions/thoughts on good example APIs and login protocols would be gratefully received!

Cheers

Nick

Will Johnston

unread,
May 24, 2012, 7:15:54 AM5/24/12
to brighton-iph...@googlegroups.com
I suggest you have look at RestKit.

http://restkit.org/
> --
> You received this message because you are subscribed to the Google Groups "Brighton iPhone Creators" group.
> To post to this group, send email to brighton-iph...@googlegroups.com.
> To unsubscribe from this group, send email to brighton-iphone-cr...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/brighton-iphone-creators?hl=en.
>

Jay Caines-Gooby

unread,
May 24, 2012, 11:37:00 AM5/24/12
to brighton-iph...@googlegroups.com
On 24 May 2012 12:15, Will Johnston <willjo...@me.com> wrote:
> I suggest you have look at RestKit.
>
> http://restkit.org/

Again, not quite what you're after but I've just seen this linked to
from some other news about iPhone backends:

https://parse.com/


--
Jay Caines-Gooby
http://jay.gooby.org
j...@gooby.org
+44 (0)7956 182625
twitter, skype & aim: jaygooby
gtalk: jayg...@gmail.com

Will Johnston

unread,
May 24, 2012, 12:13:44 PM5/24/12
to brighton-iph...@googlegroups.com
Yeah, I kind of missed the point of the question....

sorry

have a look at this --http://apigee.com/about/resources

Will Johnston

unread,
May 25, 2012, 12:48:19 AM5/25/12
to brighton-iph...@googlegroups.com
And though I find Quora inherently annoying (How can I tell my arse from my elbow?)
I saw this - http://www.quora.com/APIs/Which-companies-have-the-best-developers-website-and-API-documentation

Nick Kuh

unread,
May 25, 2012, 5:05:12 AM5/25/12
to brighton-iph...@googlegroups.com
Thanks for the suggestions Will - I'll take a look.

N

Will Johnston

unread,
May 25, 2012, 5:11:02 AM5/25/12
to brighton-iph...@googlegroups.com
What do you think of this approach? Agree?

Adam Martin

unread,
May 25, 2012, 6:15:49 AM5/25/12
to brighton-iph...@googlegroups.com
I'd counter claim that there's no designated initializer for uiviewcontroller, because apple found objectivec inconvenient at this point ;). Makes the rest of it kind of pointless IMHO - you vs apple, apple will win.

As a quick hack, of course, they "fixed" the "don't specify filenames" part when they made "nil" a valid filename. For me personally thats ugly but bearable as a workaround.

(similarly, with coredata, I ignore apples very annoying source code examples that do:

[Nsentitydescription entityWithName:@"MyClass" ...

Instead do the infinitely more safe (and easier! Autocomplete for the win!):

[Nsentitydescription entityWithName:Nsstringwithclass([MyClass class]) ...

Since Xcode still doesn't support refactoring, this approach saves a lot of maintenance bugs.)

Side note: anyone else find it funny that apple generates "initwithnibname" methods for every VC in a Storyboard app - even though storyboards by definition avoid that method entirely - and doesn't generate the method they actually use? Much fun for Developers there :)

---
Some Mississippi's due to Apple's poor autocorrect

On 25 May 2012, at 10:11, Will Johnston <willjo...@me.com> wrote:

What do you think of this approach? Agree?

--
Reply all
Reply to author
Forward
0 new messages