Favish Inc. – App Options



Favish Inc. – App Options

0 0


drupal-camp-austin-2013


On Github FavishInc / drupal-camp-austin-2013

Favish Inc.

Presented by Michael Favia and Dane Macaulay

Drupal as a Foundation

Desktop Erosion and the Rise of Mobile

Users are increasingly turning to mobile devices to engage online and youre getting left out even though you’ve developed a responsive web presence like you were told.

Responsive Web

Good for incidental browsing not persistent consumption or engagement

Data Portability

  • Drupal Services to the rescue
  • Provides RESTful Endpoint (GET, PUT, DELETE) for common drupal entities like (user, nodes, taxonomy terms, views)
  • Custom endpoints for complicated needs.

App Options

App

Utilize device features (Geolocation, Compass, Camera, Contacts, Notifications)

Native (iOS, Android)

  • Pros: Performant (memory and GPU), full api access
  • Cons: Expensive to develop and divergent development, uncertain future

Hybrid Native (e.g. Titanium)

  • Pros: Use Familiar Languages with a performance bump due to dynamic compiled code, Native UI
  • Cons: Native UI, cost, licensing

Cross Platform

  • Pros: Familiar Languages
  • Cons: Lowest common denominator featureset, performance

Phonegap/Cordova

  • JS bindings
  • Web App
    • RequireJS
    • Backbone
      • LayoutManager
      • backbone-fetch-cache
    • Underscore
    • jQuery
      • jQuery UI

Toolsets

  • Node and npm
    • Bower - Analog drush dl
    • Yo - Analog drush site-install
    • Grunt - Analog drush everything else, Compass, Apache

Walkthrough

  • Filesystem
  • Demonstrate grunt
  • Sass edit and auto refresh

There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.

-Phil Karlton + Martin Fowler