Download - Building a Mobile Website: One Block at a Time

Transcript
Page 1: Building a Mobile Website: One Block at a Time

Building a Mobile Website: One Block at a TimeChad HaefeleEmerging Technologies LibrarianUNC Chapel Hill

[email protected]

Page 2: Building a Mobile Website: One Block at a Time

What I’ll be showing you

An overview of the mobile/smartphone landscape

A tour through our development process

The building blocks you’ll need to do it yourself, and the decisions you’ll need to make along the way

A mobile site generator

Page 3: Building a Mobile Website: One Block at a Time

Why now?

Page 4: Building a Mobile Website: One Block at a Time

The

Old

Bro

wse

r

Page 5: Building a Mobile Website: One Block at a Time

The

New

Bro

wse

r

Page 6: Building a Mobile Website: One Block at a Time

Eve

n B

ette

r

Page 8: Building a Mobile Website: One Block at a Time

iPhone 4

Page 9: Building a Mobile Website: One Block at a Time

iOS devices

iPhone, iPad, iPod Touch Available only through AT&T Debuted in 2007 Apps developed in Objective C More than 250,000 apps

Page 10: Building a Mobile Website: One Block at a Time
Page 11: Building a Mobile Website: One Block at a Time

HTC Evo Droid X

Android

Page 12: Building a Mobile Website: One Block at a Time
Page 13: Building a Mobile Website: One Block at a Time

Android devices

Too many to list Available on all major carriers Debuted in 2008 Apps developed in Java More than 80,000 apps

Page 14: Building a Mobile Website: One Block at a Time

BlackBerry Torch

Page 15: Building a Mobile Website: One Block at a Time
Page 16: Building a Mobile Website: One Block at a Time

Blackberry details

Too many to list Available on all major

carriers Debuted in 1996 (sort of) More modern devices: 2005 About 10000 apps

Page 17: Building a Mobile Website: One Block at a Time

Which platform?

Market share – devices sold(July 2010)

Mobile web use(August 2010)

BlackBerry44%

Android19%

iPhone26%

Other11%

BlackBerry9%

Android25%

iPhone56%

Other10%

Anon. 2010. August 2010 Mobile OS Share. Quantcast Blog. September 3. http://blog.quantcast.com/quantcast/2010/09/august-2010-mobile-os-share.html.

Anon. 2010. comScore Reports July 2010 U.S. Mobile Subscriber Market Share -- RESTON, Va., Sept. 15 /PRNewswire/ --. http://www.prnewswire.com/news-releases/comscore-reports-july-2010-us-mobile-subscriber-market-share-102969094.html.

Page 19: Building a Mobile Website: One Block at a Time

VS

Page 20: Building a Mobile Website: One Block at a Time

UNC Mobile site walkthrough

+ ‘View full site link’

www.lib.unc.edu/m

www.lib.unc.edu/m/plain

Page 21: Building a Mobile Website: One Block at a Time

UNC Mobile site walkthrough

Page 22: Building a Mobile Website: One Block at a Time

Catalog

Page 23: Building a Mobile Website: One Block at a Time

UNC Mobile site walkthrough

Page 24: Building a Mobile Website: One Block at a Time

UNC Mobile site walkthrough

Page 25: Building a Mobile Website: One Block at a Time

http://www.flickr.com/photos/gullevek/155604654/

Page 26: Building a Mobile Website: One Block at a Time

Block #1: Survey your users

Plus 44 ‘other’ responses

Data from Spring, 2009

Page 27: Building a Mobile Website: One Block at a Time

Sample ‘Other’ responses:

Cell phone Cheap free phone Braille Note Carrier pigeon Lame old phone :( My cheap phone that always has at least 2

bars

Page 28: Building a Mobile Website: One Block at a Time

Block #2: Platform

Vs.

Page 29: Building a Mobile Website: One Block at a Time

Platform: App or Webapp?

Java, Objective C

Single platform

Full hardware access(GPS, camera, etc)

Can be used offline

Tricky to get stats

HTML, CSS, Javascript

Multi-platform (maybe)

Limited hardware access (GPS only)

Requires web connection

Standard webstats

App Webapp

Page 30: Building a Mobile Website: One Block at a Time

Android’s App Inventor

Page 31: Building a Mobile Website: One Block at a Time

Other app development options

Phonegap Flash Sencha Touch Appcelerator Others:

http://en.wikipedia.org/wiki/Multiple_phone_web_based_application_framework

Page 33: Building a Mobile Website: One Block at a Time

Block #3: Framework

iUI: code.google.com/p/iui/

Mobile site generator:www.hiddenpeanuts.com/msg

www.lib.unc.edu/m

Page 34: Building a Mobile Website: One Block at a Time

Mobile site generator

www.hiddenpeanuts.com/msg

Page 35: Building a Mobile Website: One Block at a Time

Device testing

iPhone/iPod Touch

Page 36: Building a Mobile Website: One Block at a Time

Device testing

Android

Page 37: Building a Mobile Website: One Block at a Time

Device testing Text only

Page 38: Building a Mobile Website: One Block at a Time

Block #4: Data sources & Outside systems RSS feeds XML Other systems

Computer availabilityeResourcesHours IM / text a librarian services

Page 39: Building a Mobile Website: One Block at a Time

Block #5: Custom code

Page 40: Building a Mobile Website: One Block at a Time

http://dclibrarylabs.org/ iPhone app code

(app)

Page 41: Building a Mobile Website: One Block at a Time

iUI code (webapp)http://code.google.com/p/iui/

Page 42: Building a Mobile Website: One Block at a Time

Block #6: Catalog

Catalog optionsDo it yourself ILS vendor-provided solution3rd party product

Page 43: Building a Mobile Website: One Block at a Time

Catalog: DIY

Priority 1: Get a clean data feedXML feeds from ILSYaz / Z39.50 (http://www.indexdata.com/yaz)Other solution – tap into DB directly somehow

Harass your vendors!

Page 44: Building a Mobile Website: One Block at a Time

Catalog: DIY (at UNC)

Endeca makes it all possible XML + php + Syndetics + iUI

Page 45: Building a Mobile Website: One Block at a Time

Catalog: ILS solutions Airpac, from Innovative

Page 46: Building a Mobile Website: One Block at a Time

Catalog: 3rd party product

Library Anywhere “Works with 90% of

current OPACs.” http://www.librarything.com/

LibraryAnywhere

Page 47: Building a Mobile Website: One Block at a Time

Block #7: Promotion

Page 48: Building a Mobile Website: One Block at a Time

Rough stats: Hits, 2010

Block #8: Evaluate & Iterate

April May June July August Sept(extrapolated)0

200

400

600

800

1000

1200

1400

1600

iPhone/iPod

Android

BlackBerry

Page 49: Building a Mobile Website: One Block at a Time

April May June July August Sept. (extrapolated)0

50

100

150

200

250

300

350

400

450

Mobile Catalog Searches

Mobile Records Viewed

Rough stats: Catalog info, 2010

Block #8: Evaluate & Iterate

Page 50: Building a Mobile Website: One Block at a Time

Blocks (review)

Survey Platform Framework Data sources Custom code Catalog Promotion Evaluate & Iterate

Page 51: Building a Mobile Website: One Block at a Time

Mobile site generator

www.hiddenpeanuts.com/msg

Page 52: Building a Mobile Website: One Block at a Time

iUI code (webapp)http://code.google.com/p/iui/

Page 53: Building a Mobile Website: One Block at a Time

Examples

INSERT SAMPLE HERE www.cranstonlibrary.org/m http://library.boisestate.edu/m/ http://mobile-library.mhcc.edu/

Page 54: Building a Mobile Website: One Block at a Time

Main Page

40 possible pages

Page 55: Building a Mobile Website: One Block at a Time

Getting started

1. Download the iUI code: http://code.google.com/p/iui/

2. Unzip it, put the iUI folder on your server where you want the mobile site

Page 56: Building a Mobile Website: One Block at a Time
Page 57: Building a Mobile Website: One Block at a Time
Page 58: Building a Mobile Website: One Block at a Time
Page 59: Building a Mobile Website: One Block at a Time
Page 60: Building a Mobile Website: One Block at a Time
Page 61: Building a Mobile Website: One Block at a Time

Custom code

Page 62: Building a Mobile Website: One Block at a Time
Page 63: Building a Mobile Website: One Block at a Time
Page 64: Building a Mobile Website: One Block at a Time

Webapps play well with others

Page 65: Building a Mobile Website: One Block at a Time

HTML5 & more on the horizon

APIs – camera, GPS, mic, accelerometer, video

Youtube: m.youtube.com Flickr: m.flickr.com Google Reader: google.com/reader/i Geolocation: hiddenpeanuts.com/ala

Page 66: Building a Mobile Website: One Block at a Time

This is not the end

Slides online: http://bit.ly/LILRCmobile

http://www.slideshare.net/cHaefele