Building Mobile                  Applications with Drupal                                  Jeff Linwood                   ...
Building Mobile Apps                               with Drupal                                 +             =            ...
Native         HTML5       Hybrid                           Android        Mobile    PhoneGap                         iPho...
Drupal plays well with others                                           • Services module                                 ...
Resources in JSONSaturday, July 9, 2011
Architecture                   Android    iPhone         Mobile Framework          JSON                   Plist XML       ...
Caching and Offline Access                         • Driven by requirements                         • Cache data in SQLite ...
App DemoSaturday, July 9, 2011
Code Walkthrough                         • Review Project in XCode 4Saturday, July 9, 2011
Configuring Services 3                              with D7                         Install and enable modules:            ...
Add Endpoint                         • Name                         • Path (no slashes)Saturday, July 9, 2011
Edit Resources                         • Need to determine what you want to serve                           through the en...
Mobile Dev Resources                         • Drupal iOS SDK - https://github.com/                           workhabitinc...
Drupal+Mobile Recipes                         • Showing Nodes on a Map                         • Drupal 7 - GMap + Locatio...
Mobile Recipe - Views                         • Drupal can do all the heavy lifting with the                           vie...
http://www.flickr.com/photos/13403905@N03/2080281038/ - Alan Chia                         Building BlocksSaturday, July 9, ...
Tablet DevelopmentSaturday, July 9, 2011
To follow my app                                 adventures                         • http://www.jefflinwood.com/          ...
Upcoming SlideShare
Loading in...5
×

Building Mobile Applications with Drupal

9,216

Published 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

Published in: Technology, Self Improvement
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
9,216
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
121
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Building Mobile Applications with Drupal

  1. 1. Building Mobile Applications with Drupal Jeff Linwood Drupal Camp Dallas July 9, 2011 http://www.jefflinwood.com/ @jefflinwoodSaturday, July 9, 2011
  2. 2. Building Mobile Apps with Drupal + = • Drupal + Mobile Architecture • jQuery Mobile + PhoneGap Demo • Configuring Drupal 7 Services + RESTSaturday, July 9, 2011
  3. 3. Native HTML5 Hybrid Android Mobile PhoneGap iPhone, iPad Framework TitaniumSaturday, July 9, 2011
  4. 4. Drupal plays well with others • Services module • REST • JSONSaturday, July 9, 2011
  5. 5. Resources in JSONSaturday, July 9, 2011
  6. 6. Architecture Android iPhone Mobile Framework JSON Plist XML AJAX/JSON REST Endpoint Services Module Drupal 7Saturday, July 9, 2011
  7. 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. 8. App DemoSaturday, July 9, 2011
  9. 9. Code Walkthrough • Review Project in XCode 4Saturday, July 9, 2011
  10. 10. Configuring Services 3 with D7 Install and enable modules: • Services (Services + REST Server) • rest_server_plist • Services_views • ctoolsSaturday, July 9, 2011
  11. 11. Add Endpoint • Name • Path (no slashes)Saturday, July 9, 2011
  12. 12. Edit Resources • Need to determine what you want to serve through the endpoint • What actions are allowed? • Drupal permissionsSaturday, July 9, 2011
  13. 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. 14. Drupal+Mobile Recipes • Showing Nodes on a Map • Drupal 7 - GMap + Location • iPhone - MKMapKit • Android - MapViewSaturday, July 9, 2011
  15. 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. 16. http://www.flickr.com/photos/13403905@N03/2080281038/ - Alan Chia Building BlocksSaturday, July 9, 2011
  17. 17. Tablet DevelopmentSaturday, July 9, 2011
  18. 18. To follow my app adventures • http://www.jefflinwood.com/ • github:jefflinwood • twitter: @jefflinwood • Always interested in new apps and projectsSaturday, July 9, 2011
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×