iphonify you web - understanding iphone/android webdev

26
iPhonify Your Web Apps Chris Bannon http://twitter.com/b4nn0n [email protected]

Upload: chris-bannon

Post on 27-Jan-2015

199 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: iPhonify You Web - Understanding iPhone/Android WebDev

iPhonify Your Web Apps

Chris Bannonhttp://twitter.com/b4nn0n

[email protected]

Page 2: iPhonify You Web - Understanding iPhone/Android WebDev

“A lot of your users have one of these!”

Page 3: iPhonify You Web - Understanding iPhone/Android WebDev

iPhone touch gestures

Click

Tap

Scroll

Drag/Scroll/FlickInput

Typing

Zoom

Pinch

http://help.apple.com/ipodtouch/guide/

Page 4: iPhonify You Web - Understanding iPhone/Android WebDev

Our Website on the iPhone

Page 5: iPhonify You Web - Understanding iPhone/Android WebDev

A Better Experience

Page 6: iPhonify You Web - Understanding iPhone/Android WebDev

Facebook on the iPhone

Page 7: iPhonify You Web - Understanding iPhone/Android WebDev

CNN on iPhone

Page 8: iPhonify You Web - Understanding iPhone/Android WebDev

• Optimize your web content for the iPhone

• Design a UX that follows Apple’s guidelines

Building Great iPhone Sites

Page 9: iPhonify You Web - Understanding iPhone/Android WebDev

Navigation Model

iPhone applications can contain as many different screens as necessary, butusers access and see them sequentially, never simultaneously.

Page 10: iPhonify You Web - Understanding iPhone/Android WebDev

• Add a home screen icon• Add a startup screen• Specify the viewport settings

Quick & Easy

Page 11: iPhonify You Web - Understanding iPhone/Android WebDev

<link rel="apple-touch-icon” href="/icon.png"/>

Add a home screen icon

<link rel="apple-touch-icon-precomposed” href="/icon_pre.png"/>

Page 12: iPhonify You Web - Understanding iPhone/Android WebDev

<link rel="apple-touch-startup-image" href="/startup.png">

Add a startup screen

Page 13: iPhonify You Web - Understanding iPhone/Android WebDev

<meta name = "viewport" content = "width = 590px">

Configure the Viewport

Page 14: iPhonify You Web - Understanding iPhone/Android WebDev

• Email<a href="mailto:[email protected]">John Frank</a>

• Phone<a href="tel:1-408-555-5555">1-408-555-5555</a>

• Text Message<a href="sms:1-408-555-1212">New SMS Message</a>

• Google Maps<a href="http://maps.google.com/maps?q=cupertino">Cupertino</a>

• YouTube<a href="http://www.youtube.com/v/VIDEO_IDENTIFIER">Play Video</a>

Use hyperlinks

Page 15: iPhonify You Web - Understanding iPhone/Android WebDev

<link media="only screen and (max-device-width: 480px)" href=“iphone.css" type= "text/css" rel="stylesheet">

Add an iPhone stylesheet

Page 16: iPhonify You Web - Understanding iPhone/Android WebDev

Metrics – Portrait Orientation

Page 17: iPhonify You Web - Understanding iPhone/Android WebDev

Metrics – Landscape Orientation

Page 18: iPhonify You Web - Understanding iPhone/Android WebDev

Metrics - Lists

Page 19: iPhonify You Web - Understanding iPhone/Android WebDev

Tools for iPhone Web Development

iPhone SDK (Dashcode)Apple dev onlyhttp://developer.apple.com/iphone/

jQTouchClient-side (jQuery)http://www.jqtouch.com/

Studio for iPhoneServer & Client (ASP.NET + jQuery)http://www.componentone.com/

Page 20: iPhonify You Web - Understanding iPhone/Android WebDev

ASP.NET Controls• LaunchPad• ViewPort• NavigationList• Buttons• Slider• TabBarController• MultiView• PickerView• Calendar• CoverFlow

ComponentOne Studio for iPhone

http://www.componentone.com/

Page 21: iPhonify You Web - Understanding iPhone/Android WebDev

Tools for iPhone Testing

iPhone / iPod TouchBest method for testinghttp://www.apple.com

Mac w/ Windows using FusionGreat for developing & testing together(Being used for this presentation)

http://www.vmware.com/products/fusion/

Safari for WindowsSimilar browser rendering for basic testshttp://www.apple.com/safari/

                                 

Page 22: iPhonify You Web - Understanding iPhone/Android WebDev

Time to see some code!

What time is it?

Page 23: iPhonify You Web - Understanding iPhone/Android WebDev

jQTouchhttp://www.jqtouch.com/

ComponentOne Studio for iPhonehttp://bit.ly/studio4iphone

iPhone Dev Centerhttps://developer.apple.com/iphone

VMWare Fusionhttp://www.vmware.com/products/fusion/

Safari for Windowshttps://www.apple.com/safari

My Bloghttp://bit.ly/webdevblog

Resources

Page 24: iPhonify You Web - Understanding iPhone/Android WebDev

Rate This Session!

http://speakerrate.com/banzor

Page 25: iPhonify You Web - Understanding iPhone/Android WebDev

Spam Twitter for a Free License!

#studio4iphoneTweet for a chance to win!

Example: Wow, #studio4iphone from @ComponentOne is the shizz! - http://bit.ly/studio4iphone

Page 26: iPhonify You Web - Understanding iPhone/Android WebDev

Thanks!Chris Bannon

http://twitter.com/b4nn0n

[email protected]