mobile tech briefing 2013

37
Scotty Logan Mobile: Web & Apps

Upload: scotty-logan

Post on 13-Dec-2014

114 views

Category:

Technology


0 download

DESCRIPTION

Intro presentation for https://github.com/scottylogan/nobeldir

TRANSCRIPT

Page 1: Mobile tech briefing 2013

Scotty Logan

Mobile: Web & Apps

Page 2: Mobile tech briefing 2013

About Me

IT Architect in IT Services

Started at Stanford in 1999

20th anniversary of my first web page

Worked on web “stuff” since then

but never as a “web developer”

An instigator of ITS / UComm Mobile Aware Web project

Page 3: Mobile tech briefing 2013

The early days

One of my early web pages

Page 4: Mobile tech briefing 2013

Really basic HTML<HTML> <HEAD> <TITLE>The Tardis WWW Server</TITLE> </HEAD> <BODY> <HR> <H1>The Tardis WWW Server</H1> <HR> <P> <I>This is a quick description of how the WWW server on</I> <TT>www.tardis.ed.ac.uk</TT> <I>is set up, and where all the relevant files live.</I> </P> <P> <I>The pages containing descriptions of the hardware that the server runs on (a DEC MicroVAX II) have yet to be written.</I> </P> <HR> <P> <TT>www.tardis</TT> currently runs the <A HREF="/~www/httpd_docs/index.html">CERN httpd server</A>. The files used by the server can be split into those belonging to <A HREF=#user>users</A> and those belonging to the <A HREF=#server>server</A>. </P>

Page 5: Mobile tech briefing 2013

Back then that was HTML

Now we call it “Content First”

Page 6: Mobile tech briefing 2013

It was even “mobile friendly”

http://www.stanford.edu/~swl/tardis.html

Page 7: Mobile tech briefing 2013

For a little while

Back to the Future

Page 8: Mobile tech briefing 2013

Survey time

How many of you have an iOS device?

!

iPod Touch

iPhone

iPad

Page 9: Mobile tech briefing 2013

Survey time

How many of you have an Android device?

!

Nexus phone / tablet

Samsung Galaxy

HTC One

etc

etc

Page 10: Mobile tech briefing 2013

Survey time

How many of you have something else?

!

Blackberry

Windows Phone

“feature” phone

Page 11: Mobile tech briefing 2013

Native Apps

Available from app store

Downloaded and installed on device

Available offline

Full device access

camera, location, storage, etc.

Unique development tools for each platform

Separate codebases

Page 12: Mobile tech briefing 2013

Native App Cost

Getting less expensive

Mobile app “factories”

Each additional platform adds cost

Can be offset by charging for app

Only really worth it for iOS and Android

some exceptions for niche markets

Page 13: Mobile tech briefing 2013

Hybrid Apps

Uses frameworks / wrappers like PhoneGap

Created as web apps

Better device access than web

May not look completely native

Easier to support less common platforms

“mostly” one codebase

Can / must be deployed via app store

Page 14: Mobile tech briefing 2013

Web Apps

Like a web site, but more “appy”

HTML, CSS, JavaScript

Inherently multi-platform

One codebase

might include tweaks for some platforms

Used to not be available offline

Less access to device features

Page 15: Mobile tech briefing 2013

HTML5 Web Apps

More access to device features

Location (GPS and compass)

Local storage

Offline applications

Feature support varies by OS and version

http://caniuse.com/

http://modernizr.com/

Page 16: Mobile tech briefing 2013

Native, Hybrid or Web App

It depends

Which platforms do you need to support?

What features do you need?

What’s your budget?

How quickly do you need to make changes?

Web usually faster than app store

Page 17: Mobile tech briefing 2013

Mobile Web Required

Easiest way for people to discover your app

Page 18: Mobile tech briefing 2013

Web App vs Web Site

Mobile web site

Link to app store(s)

No support for devices without apps

Might be unpopular with infrequent users

Mobile web app

Support less mainstream devices

Useful for infrequent users

Page 19: Mobile tech briefing 2013

WTF is mobile anyway?

Laptops are not considered “mobile”

One day I used my laptop in

my home

my local Starbucks

my office

Coupa Cafe (Y2E2)

a vendor’s offices in Los Altos

Page 20: Mobile tech briefing 2013

Desktop

Large high resolution screen

Large memory

Large storage

Fast CPU

Fast network

Always on network

Page 21: Mobile tech briefing 2013

Everything else

Small to medium screen

Small to medium resolution

Small memory

Limited storage

Wide range of CPU speeds

Wide range of network speeds

Sometimes on network

Page 22: Mobile tech briefing 2013

It’s all relative: my laptop

15” screen (up to 2880x1800)

23” monitor (1920x1200) in office

16GB RAM

500GB fast SSD

2.7GHz quad core cpu

801.11n wifi

Page 23: Mobile tech briefing 2013

It’s all relative: my first laptop

12” screen (800x600)

15” monitor (1024x768) in office

72MB RAM

2GB slow hard drive

133MHz single core cpu

10Mbps ethernet via PCMCIA card

Page 24: Mobile tech briefing 2013

It’s all relative: my phone

3.5” screen (960x640)

512MB RAM

64GB flash storage

1GHz dual core cpu

801.11n wifi and 3G GSM

Page 25: Mobile tech briefing 2013

Network Speed

Laptop:

campus wifi: 91Mbps down / 88Mbps up

home wifi: 35Mbps down / 8Mbps up

Phone:

campus wifi: 21Mbps down / 14Mbps up

AT&T 3G: 3Mbps down / <1Mbps up

Page 26: Mobile tech briefing 2013

A new-ish approach: Responsive Design

Page 27: Mobile tech briefing 2013

History

No mobile web

Separate mobile sites

using mobile web frameworks

Progressive Enhancement

mobile browser & device feature detection

Responsive Design

content first, dynamic layout

Page 28: Mobile tech briefing 2013

Stop. Do not pass GO.

There are many tools to help you

Page 29: Mobile tech briefing 2013

Drupal

Stanford has responsive themes for Drupal

http://itservices.stanford.edu/

Page 30: Mobile tech briefing 2013

WordPress

Many responsive WordPress themes

http://itarch.stanford.edu/blog/

http://emergency.stanford.edu/

Page 31: Mobile tech briefing 2013

Frameworks

For custom apps or sites

Bootstrap

http://getbootstrap.com/

base off our responsive Drupal themes

http://news.stanford.edu/nobel/

Also http://responsive.vermilion.com/compare.php

http://designinstruct.com/roundups/html5-frameworks/

Page 32: Mobile tech briefing 2013

Doing it the hard way

Page 33: Mobile tech briefing 2013

Do not do this

Page 34: Mobile tech briefing 2013

This is just educational

Page 35: Mobile tech briefing 2013

Content First

Page 36: Mobile tech briefing 2013

Back to the past future<HTML> <HEAD> <TITLE>The Tardis WWW Server</TITLE> </HEAD> <BODY> <HR> <H1>The Tardis WWW Server</H1> <HR> <P> <I>This is a quick description of how the WWW server on</I> <TT>www.tardis.ed.ac.uk</TT> <I>is set up, and where all the relevant files live.</I> </P> <P> <I>The pages containing descriptions of the hardware that the server runs on (a DEC MicroVAX II) have yet to be written.</I> </P> <HR> <P> <TT>www.tardis</TT> currently runs the <A HREF="/~www/httpd_docs/index.html">CERN httpd server</A>. The files used by the server can be split into those belonging to <A HREF=#user>users</A> and those belonging to the <A HREF=#server>server</A>. </P>

Page 37: Mobile tech briefing 2013

Modern version

<!DOCTYPE html> <html> <head> <title>Nobel Laureates</title> </head> <body> <article> <h1>Kenneth J. Arrow</h1> <img src=”images/Arrow_68.jpg”> <a href=”arrow.html”>Economics, 1972</a> </article> </body></html>