views:

93

answers:

4

I've searched around and I can't seem to find any good resources for Google App Engine with the iPhone. I'm using Java, but Python is also good. Thank you!

+1  A: 

Google App Engine is just a Servlet/JSP engine with some other services bundled in. IPhone apps are completely isolated from this. As long as you meet the UI guidelines for IPhone development you are good. You can develop web applications or applications that talk to a servlet.

Romain Hippeau
+3  A: 

What you should be looking for are guides on how to create a REST API into your GAE datastore, and how to use REST APIs in the iPhone environment, since that's what you'll want to do. If you write your API correctly, you (or someone else!) could easily write a web app, Android app, etc., all on your same backend.

You might also want to consider storing some data on the iPhone itself, since constant round-trips to your server will be slow and battery-draining, and will flat-out not work when the network is unavailable.

Jason Hall
Thanks for your response! In that case, do you know of any good places to start learning about REST? Thanks again.
ayanonagon
There are tons of tutorials and examples and walkthroughs on the internet, unfortunately I don't know of any particularly useful ones off the top of my head, sorry.
Jason Hall
Wait, does Apple still allow you to connect an iphone app to the same backend as an Android app? or is it the next SDK that bans that? There's so many restrictions I can't keep them straight :)
Peter Recore
@Peter I wasn't aware of any restrictions by Apple about what servers you can connect to, or even how they'd enforce something like that. Or, oh, were you being facetious? :)
Jason Hall
+1  A: 

touchengine bills itself as a 'iPhone Cocoa Touch / Google App Engine Communication framework'.

Seems to be one way only, with data coming out of GAE to the iPhone in plist format.

More details from IBM on using it.

Joost Schuur
A: 

Here's an opensource iPhone game called "Artifice" that also includes an opensource backend implemented in AppEngine:

http://kwigbo.com/artifice

Brad Parks