doran-c4l2010

39
Mobile Web App Mobile Web App Design Design …Getting Started …Getting Started Michael Doran, Systems Librarian [email protected]

Upload: quickoffice-test

Post on 27-May-2015

189 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Doran-C4L2010

Mobile Web App DesignMobile Web App Design…Getting Started…Getting Started

Michael Doran, Systems Librarian

[email protected]

Page 2: Doran-C4L2010

Okay, we get it!Okay, we get it!

…now what?…now what?

…iPhone statistics,library services, WorldCat mobile,

Android, Millennials,charts and graphs,yada, yada, yada…

…iPhone statistics,library services, WorldCat mobile,

Android, Millennials,charts and graphs,yada, yada, yada…

Page 3: Doran-C4L2010

buy?buy? build? build?

Hmm. Is it too late to join

buy4lib?

Hmm. Is it too late to join

buy4lib?

…now what?…now what?

www.boopsie.com/

www.blackboard.com/Mobile/

Page 4: Doran-C4L2010

buildbuild

web app?web app?native app?native app?

e.g. iPhone appwritten in Cocoa

requiring downloadvia the App Store

e.g. iPhone appwritten in Cocoa

requiring downloadvia the App Store

“Most of the folks I know in app development are moving to

standardization on web versusdevice specific development.”

“Most of the folks I know in app development are moving to

standardization on web versusdevice specific development.”

Linda WoodsAT&T Education AdvocateIndustry & Mobility Application Solutions2009 Handheld Librarian Online Conference

Page 5: Doran-C4L2010

This just out… an iPhone OPAC.

Download it from the App Store.

This just out… an iPhone OPAC.

Download it from the App Store.

What? Uhhh. I just bought a Nexus

One.

What? Uhhh. I just bought a Nexus

One.

Loser!Loser!

Page 6: Doran-C4L2010

The Tao of mobile web (app) design

standards compliance web usability design minimalist design design and testing

cross-browser cross-platform

A mobile web appshould do one thing

and do it well.

A mobile web appshould do one thing

and do it well.A mobile web app should be as simple

as possible, but no simpler.

A mobile web app should be as simpleas possible, but no simpler.

Page 7: Doran-C4L2010

a good mobile web app

a good mobile web app

typical single-interfacethat-does-everything

library web app

typical single-interfacethat-does-everything

library web app

1

Page 8: Doran-C4L2010

1

Page 9: Doran-C4L2010

4

Page 10: Doran-C4L2010

Simple is as simple does.

Simple is as simple does.

Page 11: Doran-C4L2010

Three categories: compatible with Safari on iPhone optimized for Safari on iPhone iPhone web application

iPhone web apps (according to Apple*)

2

W3C standards compliant- no framesets or- unsupported technologies (cough, Flash)

If it doesn’t look exactlylike an iPhone app

it can’t be any good!

If it doesn’t look exactlylike an iPhone app

it can’t be any good!

* Content on iPhone: Is It a Webpage or an Application?

Page 12: Doran-C4L2010

iUI: iPhone User Interface Framework http://code.google.com/p/iui/ License: BSD

iWebKit: ditto http://iwebkit.net/ License: GNU LGPL

jQTouch (jQuery plugin) http://www.jqtouch.com/ License: MIT

iPhone web application tool kits

JavaScript libraries, CSS code, images… I didn’t

have to start from scratch.

JavaScript libraries, CSS code, images… I didn’t

have to start from scratch.

Page 13: Doran-C4L2010

iUI iWebKit jQTouch

Page 14: Doran-C4L2010

“Moore’s Law doesn’t apply to batteries…as we’re now going into mobile…the cycles count.” Douglas Crockford*

“Moore’s Law doesn’t apply to batteries…as we’re now going into mobile…the cycles count.” Douglas Crockford*

Gee, I love what jQuery can do, butmaybe server-sideprocessing is the

way to go.

Gee, I love what jQuery can do, butmaybe server-sideprocessing is the

way to go.

* Quoted in “Coders at Work” by Peter Seibel, pg. 100

Page 15: Doran-C4L2010

[11:45] <jkeck> jquery++[11:45] <mjgiarlo> @fight bacon jquery

[11:45] <zoia> jquery: 2090000, bacon: 106[11:45] <mdoran> whatever

Page 16: Doran-C4L2010

Handheld emulators/simulators

Generally come with handheld OS SDKs webOS (Palm)

http://developer.palm.com/ iPhone (Apple)

http://developer.apple.com/iphone/ Android (Google & Open Handset Alliance)

http://developer.android.com/

Web-based simulators (be leery) Opera Mini Simulator – good

http://www.opera.com/mini/demo/ TestiPhone.com – absolutely worthless

Operating SystemOperating System

Software Development KitSoftware Development Kit

Page 17: Doran-C4L2010

OooohhOooohh

Page 18: Doran-C4L2010
Page 19: Doran-C4L2010
Page 20: Doran-C4L2010
Page 21: Doran-C4L2010
Page 22: Doran-C4L2010
Page 23: Doran-C4L2010
Page 24: Doran-C4L2010

Handheld emulators/simulators

Palm iPhoneAndroid Opera Mini

Page 25: Doran-C4L2010

Browser compatibility – don’t skip this

Internet Explorer Firefox Chrome

Page 26: Doran-C4L2010

XHTML/HTML/CSS validation

XHTML/HTML CSS Accessibility

Get right with these before you move on to platform compatibility.

Page 27: Doran-C4L2010

Mobile design – platform compatibility

viewport

Page 28: Doran-C4L2010

Mobile design – platform compatibility

Larger buttons for finger tapping

Page 29: Doran-C4L2010

Mobile design – platform compatibility

2

Page 30: Doran-C4L2010

Test it on the real thing (handset), too!

Borrow from colleagues

Or, as a last resort…

Just need to…test… my app….one… more time

Just need to…test… my app….one… more time

Page 31: Doran-C4L2010

Don’t forget the documentation!

Mobile/handheld developer sites have useful information on how to “design for small”

Read it Seriously. Read it.

A viewport?Who knew?

A viewport?Who knew?

It’s a smallworld after all.

It’s a smallworld after all.

Page 32: Doran-C4L2010

Example docs and websites

iPhone Principles and Guidelines for

Creating Great iPhone Content iPhone Human Interface

Guidelines for Web Applications Google Groups: iPhoneWebDev

Others Opera Mini Developer resources many, many, more… still more…

Reading?I just wantto code!

Reading?I just wantto code!

Page 33: Doran-C4L2010

“Deliver relevance -- expectations are high and you can only dazzle

once.”Cindy Cunningham, OCLCLITA 2009 National Forum

“Deliver relevance -- expectations are high and you can only dazzle

once.”Cindy Cunningham, OCLCLITA 2009 National Forum

Patrons can be persnickety. Maybe I should practice on the

Library staff, first.

Patrons can be persnickety. Maybe I should practice on the

Library staff, first.

Page 34: Doran-C4L2010

Hmmm, a staff app……easier to do a needs assessment…easier to get UI feedback…library has WiFi, so we can use mobile devices without a data plan

Hmmm, a staff app……easier to do a needs assessment…easier to get UI feedback…library has WiFi, so we can use mobile devices without a data plan

What would help staffworking in the stacks?

What would help staffworking in the stacks?

Page 35: Doran-C4L2010

ShelfLister version 2.0

End barcode

Start barcode

3

http://vts.uta.edu/sl.htmhttp://vts.uta.edu/sl.htm

Page 36: Doran-C4L2010

ShelfLister version 2.0

6

Page 37: Doran-C4L2010

UTA hereby grants USER permissionto use, copy, modify, and distribute this software and its documentationfor any purpose and without fee […]

Consider releasingyour mobile app as

free open source. It’sbetter than free beer!

Consider releasingyour mobile app as

free open source. It’sbetter than free beer!

Page 38: Doran-C4L2010

If that imbecile up there can do it…

If that imbecile up there can do it… How hard

could it be?

How hardcould it be?

Getting somethingto beta would onlytake me a week.

Getting somethingto beta would onlytake me a week.

Page 39: Doran-C4L2010

That’s it!Any questions?

That’s it!Any questions?

@dchud: Thanksfor giving up yourpresentation slot.

@dchud: Thanksfor giving up yourpresentation slot.