Connecting Apple’s iPhone To Google’s cloud

2,073 views

Published on

Cloud computing and software development for handheld devices are two very hot technologies that are increasingly being combined to create hybrid solutions. In this class, you’ll learn how to connect Google App Engine (Google’s cloud com- puting offering) with the iPhone, Apple’s mobile platform. You’ll also see how to use the open-source library, TouchEngine, to dynamically control applica- tion data on the iPhone by connecting to the App Engine cloud and caching that data for offline use.

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,073
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
27
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Connecting Apple’s iPhone To Google’s cloud

  1. 1. Connecting Apple’s iPhone To Google’s cloud Jonathan Saggau and Noah Gift
  2. 2. agenda • Wherefore the cloud for iPhone data storage? • Why Google App Engine? • What does TouchEngine do, exactly? • How Does it do that? • What’s next / roadmap
  3. 3. Mobile + Cloud It’s like chocolate and peanut butter http://www.flickr.com/photos/rocknroll_guitar/3737067347/
  4. 4. Mobile + Google’s Cloud • It’s like chocolate and really, really good peanut butter. http://www.tj.la/2009/09/17/peanutbutter-overload/
  5. 5. What Does AppEngine Do and Why • Generates data model files that match for both GAE and iPhone (coredata) • Simplifies communication between GAE data models and iPhone apps using plists (GAE) • Semi-Automatically synchronizes data model objects python and objc • Google user login included (new feature using the open source GAE login code from github)
  6. 6. Demo Default Core Data Books
  7. 7. How Does It Do It • GoogleAppEngineAuth from cameronr on github. • (Note, GAE will do OAuth but it’s beta) http://github.com/cameronr/ GoogleAppEngineAuth
  8. 8. Mogenerator • What is it for? • How it works (MiscMerge) • What the templates look like • What the data model looks like • Special GAE_ and gae_ attributes and why Code
  9. 9. How to Insert Touchengine into Appengine Demo
  10. 10. Technologies Soon Current
  11. 11. Google App Engine: Core Data Books Adding a book Live Site - also JQuery Code
  12. 12. Google App Engine: Core Data Books View Library
  13. 13. Plist generation • Why PList? • plistlib • introspection • Registering objects Code
  14. 14. How We Use the plists on the iPhone • GAEModelSync + bookModelSync • Show how the app goes from login to downloading the appropriate plists and then goes about. • Segue into what’s next by mentioning that one-way sync could be much more automated. Code
  15. 15. Roadmap http://www.flickr.com/photos/solaluminacaptura/ 54667385/sizes/z/
  16. 16. What’s Next • Automate the one-way sync translation between strings in plist and dates and gae_ stuff that we’re currently doing manually • Two-way real-time communications • Two-way sync offline • Integrate Ads w/ iAd and mobclix
  17. 17. Questions Noah’s frickin’ picture

×