Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Developing Apps for iPhone/iPad/Android using Drupal as Base System - Drupalcon 2010

23,146 views

Published on

Description link: http://sf2010.drupal.org/conference/sessions/developing-apps-iphoneipadandroid-using-drupal-base-system

Published in: Technology
  • Be the first to comment

Developing Apps for iPhone/iPad/Android using Drupal as Base System - Drupalcon 2010

  1. 1. Mobile App Development with Drupal as the Base System Sumit @sumitk Kataria @pava #CivicActions #DrupalCon
  2. 2. Overview
  3. 3. Nuts & Bolts
  4. 4. http://www.flickr.com/photos/coldtaxi/426162862/ by coldtaxi
  5. 5. Drupal as a Base for Mobile?
  6. 6. What We Looked At ★ PhoneGap ★ Titanium Mobile
  7. 7. PhoneGap ★ Webkit-based ★ Open Source ★ Limited Access to Native Functionality ★ Slower Performance
  8. 8. ★ Open Titanium Mobile Source - Apache 2.0 License ★ Build Native Apps - 9.x+ ★ Very Fast in Performance ★ Modular Approach to Add Functionality ★ Lot of APIs Available and Ready to Us ★ Support and Partner Programs Available
  9. 9. Titanium Mobile A Free and Open Source application development platform for creating native mobile application experiences using Javascript, Titanium API, HTML & CSS.
  10. 10. Drupal Drupal is a Free and Open Source Content Management System that allows users to easily publish, manage and organize a wide variety of content on a website.
  11. 11. But Why Develop for Mobile?
  12. 12. ★ 51,150,000 iPhones sold to date ★ Android now runs on 34 devices ★ 60,000 Android devices &100,000 more iPhones sold each day! ★ 40% of all Internet traffic will be by Mobile in 2013 April 2010
  13. 13. But Isn’t Mobile Development Expensive?
  14. 14. “Most apps take at least six months of full-time work and cost between $20,000 and $150,000 to develop.” - Forrester Research Source: http://www.newsweek.com/id/216788/page/
  15. 15. Titanium Mobile is Free (as in Beer) Users can pay for additional support. You can get your App out in development time of 2-3 weeks with 1-2 developers.
  16. 16. Why Use Drupal to Manage Your Mobile Application Data?
  17. 17. ★ It is the most reliable CMS in the world ★ Manages all your data and content ★ And meta data and users... ★ And search needs and geo-data... ★ All in a very reliable way ★ And besides...
  18. 18. ★ You are already using it
  19. 19. What You’ll Be Programming ★ Javascript ★ Titanium API ★ WebViews ★ HTML 5 ★ CSS 3
  20. 20. How Do You Use Drupal to Manage Your Mobile Application's Data?
  21. 21. Services API Enables Drupal to act as a webservice to accept and send data in a secure way. http://drupal.org/project/services
  22. 22. Services API Consists of 3 Parts ★ Services ★ Servers ★ Authentication Layer
  23. 23. Services Services are methods intended for consumption by remote applications. e.g. user.get user.save node.get node.save views.get etc.
  24. 24. Servers Servers are ways in which a Service could be called from remote site. e.g. xmlrpc (ships with Services core), json, jsonrpc, rest etc.
  25. 25. Authentication Methods ★ Keys (Services core) ★ OAuth
  26. 26. How To Get Started ★ Install iPhone SDK (Mac OS only) ★ Install Titanium Developer (Mac Win Linux) ★ Create account on Titanium Developer ★ Download and install Services and json_server modules from drupal.org
  27. 27. Data, Users Services API Drupal TI Network API Titanium Framework
  28. 28. Titanium API ★ Acceloromete ★ Media r ★ Network ★ App ★ Platform ★ Contacts ★ UI ★ Database ★ UI.iPhone ★ Facebook ★ Ui.iPad ★ Geolocation ★ Utils ★ Gesture ★ Yahoo (YUI) ★ Map ★ JSON ★ XML
  29. 29. Make a Drupal view.get Service Call
  30. 30. Demo
  31. 31. Resources http://www.drupal.org http://drupal.org/project/ services http://drupal.org/project/ json_server http://www.appcelerator.com http:// developer.appcelerator.com http://github.com/appcelerator
  32. 32. Contact Sumit Kataria Aaron Pava sumit@civicactions.co aaron@civicactions.co m m @sumitk @pava More info will be @ http://civicactions.com/blog @ http://sumitk.net CivicActions.co m
  33. 33. What did you think? Step 1) Locate this session on the DCSF site  http://sf2010.drupal.org/conference/ schedule Step 2) Click the “Take Survey” link

×