Building Mobile Applications with Drupal

  • 8,622 views
Uploaded on

Presentation given at Drupal Camp Dallas - July 9, 2011 on developing smartphone apps with Drupal 7 using the Services Module, jQuery Mobile, PhoneGap, and Drupal iOS SDK …

Presentation given at Drupal Camp Dallas - July 9, 2011 on developing smartphone apps with Drupal 7 using the Services Module, jQuery Mobile, PhoneGap, and Drupal iOS SDK

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
8,622
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
103
Comments
0
Likes
4

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Building Mobile Applications with Drupal Jeff Linwood Drupal Camp Dallas July 9, 2011 http://www.jefflinwood.com/ @jefflinwoodSaturday, July 9, 2011
  • 2. Building Mobile Apps with Drupal + = • Drupal + Mobile Architecture • jQuery Mobile + PhoneGap Demo • Configuring Drupal 7 Services + RESTSaturday, July 9, 2011
  • 3. Native HTML5 Hybrid Android Mobile PhoneGap iPhone, iPad Framework TitaniumSaturday, July 9, 2011
  • 4. Drupal plays well with others • Services module • REST • JSONSaturday, July 9, 2011
  • 5. Resources in JSONSaturday, July 9, 2011
  • 6. Architecture Android iPhone Mobile Framework JSON Plist XML AJAX/JSON REST Endpoint Services Module Drupal 7Saturday, July 9, 2011
  • 7. Caching and Offline Access • Driven by requirements • Cache data in SQLite • Cache JSON on the file system • Only online access for some functionalitySaturday, July 9, 2011
  • 8. App DemoSaturday, July 9, 2011
  • 9. Code Walkthrough • Review Project in XCode 4Saturday, July 9, 2011
  • 10. Configuring Services 3 with D7 Install and enable modules: • Services (Services + REST Server) • rest_server_plist • Services_views • ctoolsSaturday, July 9, 2011
  • 11. Add Endpoint • Name • Path (no slashes)Saturday, July 9, 2011
  • 12. Edit Resources • Need to determine what you want to serve through the endpoint • What actions are allowed? • Drupal permissionsSaturday, July 9, 2011
  • 13. Mobile Dev Resources • Drupal iOS SDK - https://github.com/ workhabitinc/drupal-ios-sdk • DrupalCloud - https://github.com/skyred/ DrupalCloud • PhoneGap - http://www.phonegap.com/ • jQuery Mobile - http://jquerymobile.com/Saturday, July 9, 2011
  • 14. Drupal+Mobile Recipes • Showing Nodes on a Map • Drupal 7 - GMap + Location • iPhone - MKMapKit • Android - MapViewSaturday, July 9, 2011
  • 15. Mobile Recipe - Views • Drupal can do all the heavy lifting with the views • May not need complex data handling code on each client • iOS - Drupal iOS SDK, UITableView • Android - ListActivity, ArrayAdapterSaturday, July 9, 2011
  • 16. http://www.flickr.com/photos/13403905@N03/2080281038/ - Alan Chia Building BlocksSaturday, July 9, 2011
  • 17. Tablet DevelopmentSaturday, July 9, 2011
  • 18. To follow my app adventures • http://www.jefflinwood.com/ • github:jefflinwood • twitter: @jefflinwood • Always interested in new apps and projectsSaturday, July 9, 2011