Building Mobile Apps by Example DrupalCamp Ohio 2014 November 14 - - - PowerPoint PPT Presentation

building mobile apps by example
SMART_READER_LITE
LIVE PREVIEW

Building Mobile Apps by Example DrupalCamp Ohio 2014 November 14 - - - PowerPoint PPT Presentation

Building Mobile Apps by Example DrupalCamp Ohio 2014 November 14 - Columbus, OH by: Tyler Frankenstein http://drupal.org/u/tyler.frankenstein Drupal Developer ( 7+ Years ) Easy Street 3 Co-Founder ( June 2010 - Present ) U.M.


slide-1
SLIDE 1

Building Mobile Apps by Example

DrupalCamp Ohio 2014

November 14 - Columbus, OH

by: Tyler Frankenstein

slide-2
SLIDE 2
  • Drupal Developer (7+ Years)
  • Easy Street 3 Co-Founder (June 2010 - Present)
  • U.M. Library Drupal Developer (Feb 2011 - May 2013)
  • Drupal Contributor (10+ Modules)
  • DrupalCon Austin 2014 (Co-Presenter w/ Commerce Guys)
  • DrupalGap (Creator / Lead Developer)

http://drupal.org/u/tyler.frankenstein

slide-3
SLIDE 3

“...why would I want a mobile application?”

“I already have a responsive, mobile friendly Drupal website…”

slide-4
SLIDE 4

Mobile Application Device Features

  • Accelerometer
  • Audio Capture
  • Camera*
  • Contact List
  • GPS
  • Notifications
  • Offline Storage

* Take a photo, record video, and browse local media library.

slide-5
SLIDE 5
  • 1. GeoTag a Photo and Upload it
  • 2. GeoLocate Nearby Content and Display on Map

Build 2 Example Mobile Apps

slide-6
SLIDE 6

Tools Involved

slide-7
SLIDE 7

Why Drupal?

Drupal let’s us easily manage our...

Users Content Files

slide-8
SLIDE 8

Why PhoneGap?

It let’s us utilize familiar web technologies like...

and then ...

slide-9
SLIDE 9

Compiles them into Mobile Apps

Android (JAVA) (Objective-C, Swift)

slide-10
SLIDE 10

If we know HTML, CSS and JavaScript, then...

… we can build mobile apps.

slide-11
SLIDE 11

jQuery Mobile takes simple HTML and...

Why jQuery Mobile?

… makes it pretty, and mobile friendly.

slide-12
SLIDE 12

jQuery Mobile’s HTML Markup

slide-13
SLIDE 13

That’s great, but...

… how do we handle multiple pages?

slide-14
SLIDE 14

Say “Hello World” to DrupalGap

“DrupalGap is an open source mobile application development kit for Drupal websites. It is powered by PhoneGap, jQuery Mobile and Drupal.”

slide-15
SLIDE 15

We use Drupal to easily build our websites...

… so let’s use DrupalGap to easily build our apps.

slide-16
SLIDE 16

Easily build mobile apps, you say?

Let’s see it to believe it…

Example #1: GeoTag a Photo and Upload it

http://tylerfrankenstein.com/code/build-mobile-app-geo-tag-photo

slide-17
SLIDE 17

Not too bad, how about one more...

Example #2: GeoLocate Nearby Content and Display on Map

http://www.tylerfrankenstein.com/code/build-mobile-app-geo-locate-content-drupal

slide-18
SLIDE 18

Neat-o! How do I get started?

DrupalGap Module

  • https://drupal.org/project/drupalgap

DrupalGap SDK

  • https://github.com/signalpoint/DrupalGap

Hello World

  • http://drupalgap.org/hello-world
slide-19
SLIDE 19

Questions / Comments ?

  • https://drupal.org/u/tyler.frankenstein
  • https://github.com/signalpoint
  • http://tylerfrankenstein.com
  • @FrankensteinTJ

“Thank you!”