SlideShare a Scribd company logo
1 of 34
Download to read offline
iPhone Web Apps
                   Introduction for Developers




Source http://www.ļ¬‚ickr.com/photos/eschipul/743621029/
iPhoneDevCamp
San Francisco July 3-5 2007




          Source http://www.ļ¬‚ickr.com/photos/eschipul/743092489/
Source: http://www.ļ¬‚ickr.com/photos/eschipul/764938378/
Outline

1. Capabilities of the iPhone
2. Design Practices for Web (standards)
3. iPhone speciļ¬c design principles




     source: http://developer.apple.com/iphone/designingcontent.html
1) Capabilities
Connectivity


ā€¢ EDGE = AT&Tā€™s network for the iPhone
ā€¢ WiFi - iPhone supports wiļ¬
ā€¢ Hack can activate phone for WiFi only
Input Device
ā€¢ Input Device = Two Fingers
ā€¢ Two Fingers <> Mouse




          http://developer.apple.com/iphone/designingcontent.html
Input Methods
ā€¢ Double tap = Zoom in or Center Blocks
ā€¢ Touch and hold = Display Info Bubble
ā€¢ Drag = Move the viewport
ā€¢ Flick = Scroll up or down
ā€¢ Pinch open = zoom in
ā€¢ Pinch out = zoom out
Negatives of Input

ā€¢ No copy/paste! WT_?
ā€¢ Density of links is an issue
ā€¢ Double taps to blocks depends on html
     (DIV, OL, UL, TABLE, IMAGE)
Source Chris Messina http://www.ļ¬‚ickr.com/photos/factoryjoe/763838307/
Note Changed Size




Source Chris Messina http://www.ļ¬‚ickr.com/photos/factoryjoe/763838307/
My Opinion


ā€¢ ZOOMING GETS OLD. FAST. REALLY.
2) Design Practices


ā€¢ Perfect Size to Watch Charlie by WiFI
Standards Based Dev

ā€¢ HTML 4.0.1
ā€¢ XHTML 1.0
ā€¢ CSS 2.1 and Partial CSS 3.xx
ā€¢ Javascript 1.4 including DOM support
ā€¢ AJAX technologies, inc XMLHTTPRequest
Think Windowless

ā€¢ viewport <> windows
         there are no stinkinā€™ windows!
ā€¢ automatic scaling
         apple knows better than you silly rabbit!
Avoid

ā€¢ Avoid W i d e Blocks of Text
ā€¢ Avoid using html to resize images
ā€¢ Avoid framesets
ā€¢ Legacy CSS and JavaScript (slow!)
Does NOT Support

ā€¢ No: WML (wireless markup language)
ā€¢ No: Flash ļ¬les
ā€¢ No: Downloads
ā€¢ No: Files over 10 Megs
ā€¢ No: Images over 2 Megs (some tricks?)
Use

ā€¢ Stick with the standards
ā€¢ Separate HTML, CSS & JavaScript
ā€¢ Columns and Blocks
ā€¢ Has full PDF ļ¬le support
ā€¢ Did I mention Columns and Blocks?
iPhone Speciļ¬c Design
Be Speciļ¬c With Design

ā€¢ You CAN render pages speciļ¬c to iPhone
ā€¢ user_agent for iPhone = safari:
 ā€¢ Mozilla/5.0
    (iPhone; U; CPU like Mac OS X; en)
    AppleWebKit/420+ (KHTML, like Geck0)
    Version/3.0 Mobile/1A543a Safari/419.3
iPhone App Links

ā€¢ Tel: <a href=ā€tel:1-408-555-1212ā€>
ā€¢ Mail: <a href=ā€mailto:foo@bar.comā€>
ā€¢ Maps: <a href=ā€http://maps.google.com/
  maps?q=houstonā€> (uses google app)
iPhone StyleSheet

ā€¢ <link media=ā€only screen and (max-device-
  width: 480px)ā€ href=ā€iPhone.cssā€
  type=ā€text/cssā€ rel=ā€stylesheetā€ />
ā€¢ Other browsers ignore ā€œonly screenā€ part
Rich Media

ā€¢ Streams movies and audio using HTTP
ā€¢ EDGE and Wi-Fi networks
ā€¢ Servers must support byte-range requests
ā€¢ No Flash / No Downloads
ā€¢ No streaming
Best Practices

ā€¢ Use ā€œPoster JPGsā€ - link image to movie
ā€¢ 480 x 320 pixels
ā€¢ Pay Attention to Bit Rate
ā€¢ Reference Movies
  ā€¢   More: http://developer.apple.com/quicktime/quicktimeintro/tools/

  ā€¢   or the iPhone Developers Guide
Limits

ā€¢ 10 MB File Size Limit
ā€¢ Javascript
 ā€¢ 5 second limit per each top level entry
ā€¢ Limited Media Types (see guide)
Tips

ā€¢ Hold ā€œsleepā€ (top) to power off
ā€¢ Hold ā€œhomeā€ (front) and ā€œsleepā€ (top)
  buttons at the same time for 8 seconds to
  hard reset
ā€¢ youTube is NOT a speciļ¬c app for iPhone
  and not the ā€œrealā€ youtube. Learn from this.
Accessorize!




ā€¢ Damienā€™s $1200 GPS iPhoneAddOn

                          Source: http://www.ļ¬‚ickr.com/photos/eschipul/748489927/
Developer Tools
ā€¢ Aptana - like visual interdev but with AJAX
  framework support and an iPhone plugin




                                      Source: http://www.aptana.com/
Developer Notes


ā€¢ Icons: icon pngs are 59x60 pixels drop
  shadow
source: http://www.ļ¬‚ickr.com/photos/eschipul/750755295/
Developer Resources
ā€¢ Apple iPhone Dev Guide:
 ā€¢ http://developer.apple.com/iphone/
    designingcontent.html
ā€¢ www.iphonewebdev.com
 ā€¢ http://groups.google.com/group/
    iphonewebdev
ā€¢ http://barcamp.org/iPhoneDevCamp
Conclusion
ā€¢ New Device = New Emergent Best
  Practices
ā€¢ Fingers are NOT the same as mice
ā€¢ WiFi is a big factor for the iPhone
ā€¢ EDGE still is kinda-lame, but it works
ā€¢ Developers need to train on new standards
Closing Thoughts


ā€¢ This presentation was completed on the
  Monday after iPhoneDevCamp. Please keep
  in mind that things will change and update
  accordingly. Mā€™kay? - Thanks!
Thanks!

ā€¢ Ed Schipul
 ā€¢ Co: www.schipul.com
 ā€¢ Blog: brandtobedetermined.com
 ā€¢ Flickr: www.ļ¬‚ickr.com/photos/eschipul/
 ā€¢ Twitter: twitter.com/eschipul/

More Related Content

What's hot

From desktop to mobile web
From desktop to mobile webFrom desktop to mobile web
From desktop to mobile web
Chris Love
Ā 
August Chicago Mobile Meetup talk 8-25-11
August Chicago Mobile Meetup talk 8-25-11August Chicago Mobile Meetup talk 8-25-11
August Chicago Mobile Meetup talk 8-25-11
biolithic
Ā 
That's crazy! how to build single page web apps
That's crazy! how to build single page web appsThat's crazy! how to build single page web apps
That's crazy! how to build single page web apps
Chris Love
Ā 

What's hot (20)

PGDAY EU 2016 workshop - privacy and security
PGDAY EU 2016 workshop - privacy and securityPGDAY EU 2016 workshop - privacy and security
PGDAY EU 2016 workshop - privacy and security
Ā 
WIN With Web Video
WIN With Web VideoWIN With Web Video
WIN With Web Video
Ā 
Mac orientation
Mac orientationMac orientation
Mac orientation
Ā 
WebMatrix jQuery Mobile Web
WebMatrix jQuery Mobile WebWebMatrix jQuery Mobile Web
WebMatrix jQuery Mobile Web
Ā 
From desktop to mobile web
From desktop to mobile webFrom desktop to mobile web
From desktop to mobile web
Ā 
The Answer is Evernote
The Answer is EvernoteThe Answer is Evernote
The Answer is Evernote
Ā 
Introduction to Flash
Introduction to FlashIntroduction to Flash
Introduction to Flash
Ā 
Amp - Š—Š°Ń‰Š¾ Šø ŠŗŠ°Šŗ?
Amp - Š—Š°Ń‰Š¾ Šø ŠŗŠ°Šŗ?Amp - Š—Š°Ń‰Š¾ Šø ŠŗŠ°Šŗ?
Amp - Š—Š°Ń‰Š¾ Šø ŠŗŠ°Šŗ?
Ā 
August Chicago Mobile Meetup talk 8-25-11
August Chicago Mobile Meetup talk 8-25-11August Chicago Mobile Meetup talk 8-25-11
August Chicago Mobile Meetup talk 8-25-11
Ā 
Writer Mary Klest
Writer Mary Klest Writer Mary Klest
Writer Mary Klest
Ā 
How to buy a laptop for software development
How to buy a laptop for software developmentHow to buy a laptop for software development
How to buy a laptop for software development
Ā 
That's crazy! how to build single page web apps
That's crazy! how to build single page web appsThat's crazy! how to build single page web apps
That's crazy! how to build single page web apps
Ā 
How buy a xeon convertible laptop for creative artists and content creators
How buy a xeon convertible laptop for creative artists and content creatorsHow buy a xeon convertible laptop for creative artists and content creators
How buy a xeon convertible laptop for creative artists and content creators
Ā 
10 things to make you a Great Mobile Web Developer
10 things to make you a Great Mobile Web Developer10 things to make you a Great Mobile Web Developer
10 things to make you a Great Mobile Web Developer
Ā 
How To Be an HTML5 Mobile Cloud Champion
How To Be an HTML5 Mobile Cloud ChampionHow To Be an HTML5 Mobile Cloud Champion
How To Be an HTML5 Mobile Cloud Champion
Ā 
The Mobile Web - Fronteers 2009
The Mobile Web - Fronteers 2009The Mobile Web - Fronteers 2009
The Mobile Web - Fronteers 2009
Ā 
CLAS Mobile View and Recording Interface
CLAS Mobile View and Recording InterfaceCLAS Mobile View and Recording Interface
CLAS Mobile View and Recording Interface
Ā 
Making JavaScript Accessible
Making JavaScript AccessibleMaking JavaScript Accessible
Making JavaScript Accessible
Ā 
Speak The Web: The HTML5 Experiments
Speak The Web: The HTML5 ExperimentsSpeak The Web: The HTML5 Experiments
Speak The Web: The HTML5 Experiments
Ā 
Getting Your Hooks into Cordova
Getting Your Hooks into CordovaGetting Your Hooks into Cordova
Getting Your Hooks into Cordova
Ā 

Similar to I Phone Developer Introduction By Eschipul

iPhone possibilities
iPhone possibilitiesiPhone possibilities
iPhone possibilities
Jesse Wynants
Ā 
The future is hybrid
The future is hybridThe future is hybrid
The future is hybrid
Martin Naumann
Ā 
7 Habits of Exceptional Performance
7 Habits of Exceptional Performance7 Habits of Exceptional Performance
7 Habits of Exceptional Performance
Nicole Sullivan
Ā 
Getting started with PhoneGap
Getting started with PhoneGapGetting started with PhoneGap
Getting started with PhoneGap
Mihai Corlan
Ā 

Similar to I Phone Developer Introduction By Eschipul (20)

SmartPhone Design and Delivery
SmartPhone Design and DeliverySmartPhone Design and Delivery
SmartPhone Design and Delivery
Ā 
iPhone Dev Camp Keynote
iPhone Dev Camp  KeynoteiPhone Dev Camp  Keynote
iPhone Dev Camp Keynote
Ā 
iPhone Dev Camp Keynote
iPhone Dev Camp KeynoteiPhone Dev Camp Keynote
iPhone Dev Camp Keynote
Ā 
iPhoneDevCamp Keynote
iPhoneDevCamp KeynoteiPhoneDevCamp Keynote
iPhoneDevCamp Keynote
Ā 
Iphone Dev
Iphone DevIphone Dev
Iphone Dev
Ā 
Absolute Beginners Guide to iPhone dev
Absolute Beginners Guide to iPhone devAbsolute Beginners Guide to iPhone dev
Absolute Beginners Guide to iPhone dev
Ā 
iPhone possibilities
iPhone possibilitiesiPhone possibilities
iPhone possibilities
Ā 
Aleksandar Vacić - iOS App Development iz Srbije
Aleksandar Vacić - iOS App Development iz SrbijeAleksandar Vacić - iOS App Development iz Srbije
Aleksandar Vacić - iOS App Development iz Srbije
Ā 
Programing for the iPhone
Programing for the iPhonePrograming for the iPhone
Programing for the iPhone
Ā 
iPad Lecture Capture for Brightspace - Illinois Ignite 2014
iPad Lecture Capture for Brightspace - Illinois Ignite 2014iPad Lecture Capture for Brightspace - Illinois Ignite 2014
iPad Lecture Capture for Brightspace - Illinois Ignite 2014
Ā 
Introduction to PhoneGap
Introduction to PhoneGapIntroduction to PhoneGap
Introduction to PhoneGap
Ā 
Mobile is slow - Over the Air 2013
Mobile is slow - Over the Air 2013Mobile is slow - Over the Air 2013
Mobile is slow - Over the Air 2013
Ā 
The future is hybrid
The future is hybridThe future is hybrid
The future is hybrid
Ā 
ę‰“é€ ä½ ēš„ē¬¬äø€å€‹iPhone APP
ę‰“é€ ä½ ēš„ē¬¬äø€å€‹iPhone APPę‰“é€ ä½ ēš„ē¬¬äø€å€‹iPhone APP
ę‰“é€ ä½ ēš„ē¬¬äø€å€‹iPhone APP
Ā 
Mobile html5 today
Mobile html5 todayMobile html5 today
Mobile html5 today
Ā 
Google glass
Google glassGoogle glass
Google glass
Ā 
7 Habits of Exceptional Performance
7 Habits of Exceptional Performance7 Habits of Exceptional Performance
7 Habits of Exceptional Performance
Ā 
Getting started with PhoneGap
Getting started with PhoneGapGetting started with PhoneGap
Getting started with PhoneGap
Ā 
Google glass ( main ppt )
Google glass ( main ppt )Google glass ( main ppt )
Google glass ( main ppt )
Ā 
Eye candy for your iPhone
Eye candy for your iPhoneEye candy for your iPhone
Eye candy for your iPhone
Ā 

More from Ed Schipul

Indiana Society of Association Executives Keynote July 23, 2014
Indiana Society of Association Executives Keynote July 23, 2014 Indiana Society of Association Executives Keynote July 23, 2014
Indiana Society of Association Executives Keynote July 23, 2014
Ed Schipul
Ā 
Intro to Social Media and Personal Brands by Ed Schipul
Intro to Social Media and Personal Brands by Ed SchipulIntro to Social Media and Personal Brands by Ed Schipul
Intro to Social Media and Personal Brands by Ed Schipul
Ed Schipul
Ā 

More from Ed Schipul (20)

Cryptocurrency lacc-eschipul
Cryptocurrency lacc-eschipulCryptocurrency lacc-eschipul
Cryptocurrency lacc-eschipul
Ā 
14NTC - Ed Schipul: Online Fundraising Strategies to Take Advantage of Your D...
14NTC - Ed Schipul: Online Fundraising Strategies to Take Advantage of Your D...14NTC - Ed Schipul: Online Fundraising Strategies to Take Advantage of Your D...
14NTC - Ed Schipul: Online Fundraising Strategies to Take Advantage of Your D...
Ā 
2014 Trends in Association Online Marketing
2014 Trends in Association Online Marketing2014 Trends in Association Online Marketing
2014 Trends in Association Online Marketing
Ā 
Indiana Society of Association Executives Keynote July 23, 2014
Indiana Society of Association Executives Keynote July 23, 2014 Indiana Society of Association Executives Keynote July 23, 2014
Indiana Society of Association Executives Keynote July 23, 2014
Ā 
Giving away 6 million is harder than you think - SXSW V2V Presentation
Giving away 6 million is harder than you think - SXSW V2V PresentationGiving away 6 million is harder than you think - SXSW V2V Presentation
Giving away 6 million is harder than you think - SXSW V2V Presentation
Ā 
Microblogging:Telling a Story on a Dime, Ed Schipul to PRSA International Con...
Microblogging:Telling a Story on a Dime, Ed Schipul to PRSA International Con...Microblogging:Telling a Story on a Dime, Ed Schipul to PRSA International Con...
Microblogging:Telling a Story on a Dime, Ed Schipul to PRSA International Con...
Ā 
WPO-EA Social Media for Executive Assistants
WPO-EA Social Media for Executive AssistantsWPO-EA Social Media for Executive Assistants
WPO-EA Social Media for Executive Assistants
Ā 
How the Mobile Web Will Change Communications - IABC Conference 2012
How the Mobile Web Will Change Communications - IABC Conference 2012How the Mobile Web Will Change Communications - IABC Conference 2012
How the Mobile Web Will Change Communications - IABC Conference 2012
Ā 
U of H Entrepreneurship Presentaion 2012
U of H Entrepreneurship Presentaion 2012U of H Entrepreneurship Presentaion 2012
U of H Entrepreneurship Presentaion 2012
Ā 
PRSA Digital Impact, Profiting from Personal Brands
PRSA Digital Impact, Profiting from Personal BrandsPRSA Digital Impact, Profiting from Personal Brands
PRSA Digital Impact, Profiting from Personal Brands
Ā 
Brennanā€™s Rebuilding 2008-2010
Brennanā€™s Rebuilding 2008-2010Brennanā€™s Rebuilding 2008-2010
Brennanā€™s Rebuilding 2008-2010
Ā 
PRSA Sunshine District - June 2010
PRSA Sunshine District - June 2010PRSA Sunshine District - June 2010
PRSA Sunshine District - June 2010
Ā 
PRSA T3PR Conference in NYC June 2010
PRSA T3PR Conference in NYC June 2010PRSA T3PR Conference in NYC June 2010
PRSA T3PR Conference in NYC June 2010
Ā 
Intro to Social Media and Personal Brands by Ed Schipul
Intro to Social Media and Personal Brands by Ed SchipulIntro to Social Media and Personal Brands by Ed Schipul
Intro to Social Media and Personal Brands by Ed Schipul
Ā 
Travel Industry Meets Personal Brands - Threats and Opportunities
Travel Industry Meets Personal Brands - Threats and OpportunitiesTravel Industry Meets Personal Brands - Threats and Opportunities
Travel Industry Meets Personal Brands - Threats and Opportunities
Ā 
PRSA Georgia Personal Brand Era talk by Ed Schipul
PRSA Georgia Personal Brand Era talk by Ed SchipulPRSA Georgia Personal Brand Era talk by Ed Schipul
PRSA Georgia Personal Brand Era talk by Ed Schipul
Ā 
AAF Amarillo - Growing Your Agency From The Inside Out
AAF Amarillo - Growing Your Agency From The Inside OutAAF Amarillo - Growing Your Agency From The Inside Out
AAF Amarillo - Growing Your Agency From The Inside Out
Ā 
AAF Ft. Worth Talk to Mobile Marketing
AAF Ft. Worth Talk to Mobile MarketingAAF Ft. Worth Talk to Mobile Marketing
AAF Ft. Worth Talk to Mobile Marketing
Ā 
Rice University Advertising Spring 2010
Rice University Advertising Spring 2010Rice University Advertising Spring 2010
Rice University Advertising Spring 2010
Ā 
Southeast Texas Museum Association Talk on Social Media
Southeast Texas Museum Association Talk on Social MediaSoutheast Texas Museum Association Talk on Social Media
Southeast Texas Museum Association Talk on Social Media
Ā 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Ā 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
Ā 

Recently uploaded (20)

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
Ā 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
Ā 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
Ā 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Ā 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Ā 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
Ā 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Ā 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Ā 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Ā 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Ā 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Ā 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Ā 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
Ā 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
Ā 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Ā 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
Ā 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Ā 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Ā 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
Ā 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
Ā 

I Phone Developer Introduction By Eschipul

  • 1. iPhone Web Apps Introduction for Developers Source http://www.ļ¬‚ickr.com/photos/eschipul/743621029/
  • 2. iPhoneDevCamp San Francisco July 3-5 2007 Source http://www.ļ¬‚ickr.com/photos/eschipul/743092489/
  • 4. Outline 1. Capabilities of the iPhone 2. Design Practices for Web (standards) 3. iPhone speciļ¬c design principles source: http://developer.apple.com/iphone/designingcontent.html
  • 6. Connectivity ā€¢ EDGE = AT&Tā€™s network for the iPhone ā€¢ WiFi - iPhone supports wiļ¬ ā€¢ Hack can activate phone for WiFi only
  • 7. Input Device ā€¢ Input Device = Two Fingers ā€¢ Two Fingers <> Mouse http://developer.apple.com/iphone/designingcontent.html
  • 8. Input Methods ā€¢ Double tap = Zoom in or Center Blocks ā€¢ Touch and hold = Display Info Bubble ā€¢ Drag = Move the viewport ā€¢ Flick = Scroll up or down ā€¢ Pinch open = zoom in ā€¢ Pinch out = zoom out
  • 9. Negatives of Input ā€¢ No copy/paste! WT_? ā€¢ Density of links is an issue ā€¢ Double taps to blocks depends on html (DIV, OL, UL, TABLE, IMAGE)
  • 10. Source Chris Messina http://www.ļ¬‚ickr.com/photos/factoryjoe/763838307/
  • 11. Note Changed Size Source Chris Messina http://www.ļ¬‚ickr.com/photos/factoryjoe/763838307/
  • 12. My Opinion ā€¢ ZOOMING GETS OLD. FAST. REALLY.
  • 13. 2) Design Practices ā€¢ Perfect Size to Watch Charlie by WiFI
  • 14. Standards Based Dev ā€¢ HTML 4.0.1 ā€¢ XHTML 1.0 ā€¢ CSS 2.1 and Partial CSS 3.xx ā€¢ Javascript 1.4 including DOM support ā€¢ AJAX technologies, inc XMLHTTPRequest
  • 15. Think Windowless ā€¢ viewport <> windows there are no stinkinā€™ windows! ā€¢ automatic scaling apple knows better than you silly rabbit!
  • 16. Avoid ā€¢ Avoid W i d e Blocks of Text ā€¢ Avoid using html to resize images ā€¢ Avoid framesets ā€¢ Legacy CSS and JavaScript (slow!)
  • 17. Does NOT Support ā€¢ No: WML (wireless markup language) ā€¢ No: Flash ļ¬les ā€¢ No: Downloads ā€¢ No: Files over 10 Megs ā€¢ No: Images over 2 Megs (some tricks?)
  • 18. Use ā€¢ Stick with the standards ā€¢ Separate HTML, CSS & JavaScript ā€¢ Columns and Blocks ā€¢ Has full PDF ļ¬le support ā€¢ Did I mention Columns and Blocks?
  • 20. Be Speciļ¬c With Design ā€¢ You CAN render pages speciļ¬c to iPhone ā€¢ user_agent for iPhone = safari: ā€¢ Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Geck0) Version/3.0 Mobile/1A543a Safari/419.3
  • 21. iPhone App Links ā€¢ Tel: <a href=ā€tel:1-408-555-1212ā€> ā€¢ Mail: <a href=ā€mailto:foo@bar.comā€> ā€¢ Maps: <a href=ā€http://maps.google.com/ maps?q=houstonā€> (uses google app)
  • 22. iPhone StyleSheet ā€¢ <link media=ā€only screen and (max-device- width: 480px)ā€ href=ā€iPhone.cssā€ type=ā€text/cssā€ rel=ā€stylesheetā€ /> ā€¢ Other browsers ignore ā€œonly screenā€ part
  • 23. Rich Media ā€¢ Streams movies and audio using HTTP ā€¢ EDGE and Wi-Fi networks ā€¢ Servers must support byte-range requests ā€¢ No Flash / No Downloads ā€¢ No streaming
  • 24. Best Practices ā€¢ Use ā€œPoster JPGsā€ - link image to movie ā€¢ 480 x 320 pixels ā€¢ Pay Attention to Bit Rate ā€¢ Reference Movies ā€¢ More: http://developer.apple.com/quicktime/quicktimeintro/tools/ ā€¢ or the iPhone Developers Guide
  • 25. Limits ā€¢ 10 MB File Size Limit ā€¢ Javascript ā€¢ 5 second limit per each top level entry ā€¢ Limited Media Types (see guide)
  • 26. Tips ā€¢ Hold ā€œsleepā€ (top) to power off ā€¢ Hold ā€œhomeā€ (front) and ā€œsleepā€ (top) buttons at the same time for 8 seconds to hard reset ā€¢ youTube is NOT a speciļ¬c app for iPhone and not the ā€œrealā€ youtube. Learn from this.
  • 27. Accessorize! ā€¢ Damienā€™s $1200 GPS iPhoneAddOn Source: http://www.ļ¬‚ickr.com/photos/eschipul/748489927/
  • 28. Developer Tools ā€¢ Aptana - like visual interdev but with AJAX framework support and an iPhone plugin Source: http://www.aptana.com/
  • 29. Developer Notes ā€¢ Icons: icon pngs are 59x60 pixels drop shadow
  • 31. Developer Resources ā€¢ Apple iPhone Dev Guide: ā€¢ http://developer.apple.com/iphone/ designingcontent.html ā€¢ www.iphonewebdev.com ā€¢ http://groups.google.com/group/ iphonewebdev ā€¢ http://barcamp.org/iPhoneDevCamp
  • 32. Conclusion ā€¢ New Device = New Emergent Best Practices ā€¢ Fingers are NOT the same as mice ā€¢ WiFi is a big factor for the iPhone ā€¢ EDGE still is kinda-lame, but it works ā€¢ Developers need to train on new standards
  • 33. Closing Thoughts ā€¢ This presentation was completed on the Monday after iPhoneDevCamp. Please keep in mind that things will change and update accordingly. Mā€™kay? - Thanks!
  • 34. Thanks! ā€¢ Ed Schipul ā€¢ Co: www.schipul.com ā€¢ Blog: brandtobedetermined.com ā€¢ Flickr: www.ļ¬‚ickr.com/photos/eschipul/ ā€¢ Twitter: twitter.com/eschipul/