SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Jon Arne Sæterås Product Director, Mobiletech Twitter: @jonarnes Email: jas@mobiletech.mobi
Baby steps… Mobile web Mobile internet usage will be bigger than most people think MobileFirst! ,[object Object]
Some differences
Context
View port
Pixels
Some Quick-Wins
Media Queries
JavaScript
Cache,[object Object]
Page view growth: 2009-2010: 109% 2010-2011: 150% Unique users
23,7% of pupulation Device OS Source: Mobiletech.no/Forbrukerog media
23,7% of pupulation Browser Connection Source: Mobiletech.no/Forbrukerog media
Bedtime Desktop preferred Breakfast / commuting
iPad ready?? http://www.apple.com/ipad/ready-for-ipad/
Common pitfalls  Don’t forget that Data traffic is expensive  The the network is slow The device has lower processing power That the interaction model is unknown That the screen is smaller
Context  Hardware OS Physical capabilities tech perspective Browser WRT App Social networks Local user profile CRM Superlocal Home/abroad Telco network WiFi Bandwidth
Logic is moving More front-end! Get started! Feature detection, not device detection
View port The visual part of the web site http://www.flickr.com/photos/dm-set/3579287485/
On a desktop viewport  = size of <html/>  = size of the browser window
Visual Viewport Layout Viewport
Layout viewport default width iPhone Safari: 980px Opera: 850px AndriodWebKit: 800px IE: 974 px Symbian WebKit: Tries to keep the layout viewport equal to the visual viewport. BadaWebkit: layout viewport as wide as the widest element Blackberry: layout viewport equals the visual viewport at 100% zoom
Best user experience when  visual view port width = layout view port width = device-width
1px != 1px iPhone 4 has 640 physical pixels, but layout viewport is 320 “High DPI” screens “CSS pixels” Zoom level Not the same as physical pixels on the device Decides how many physical pixels a CSS pixel covers Read More: http://www.quirksmode.org/mobile/viewports.html http://www.flickr.com/photos/korosirego/
? Good to know that: ,[object Object]
Different “kinds” of pixels
Users ZoomBaby steps: How to make use of this? http://www.flickr.com/photos/andrewrennie/
Overriding the default <meta name="viewport" content="width=240,  height=320,  user-scalable=yes, initial-scale=2.5,  maximum-scale=5.0, minimum-scale=1.0" /> Width/Height of viewport Zoomable? Initial zoom <meta name="viewport”  content="target-densitydpi=device-dpi" /> device-dpi:    Use the device's native dpi as target dpi. low-dpi:       120dpi medium-dpi:    160dpi, which is also the default as of today high-dpi:      240dpi <number>:      We take any number between 70 and 400 as a valid target dpi. 4 has 640 physical pixels, but layout viewport is 320
iPhone4 High DPI trick 640px wide <imgsrc=“image.png” width=“320” alt=“highdpi” /> Pysical image size = visual viewport width * pixel ratio
Media Queries <stylemedia="handheld”  type=“” /> Small screens For big screens
Media queries Target size of viewport with a different CSS <link rel="stylesheet" type="text/css”  media="only screen and (max-width: 480px), only screen and (max-device-width: 480px)” href=“small-device.css" /> Landscape or portrait? <link rel=”stylesheet”  media=”all and (orientation:portrait)”  href=”portrait-style.css” /> <link rel=”stylesheet”  media=”all and (orientation:landscape)” href=”landscape-style.css” /> <link media=”all and (-webkit-min-device-pixel-ratio:2)”  href=”highDPI.css” type=”text/css” rel=”stylesheet” /> High DPI screens
Detect iPad if(navigator.platform== "iPad”){ //put iPadcss into the dom } @media only screen  and (min-device-width: 768px)  and (max-device-width: 1024px) { 	/* “iPad” style*/ }
Javascript

Weitere ähnliche Inhalte

Was ist angesagt?

Ajax Push ICEfaces Ted Goddard
Ajax Push ICEfaces Ted GoddardAjax Push ICEfaces Ted Goddard
Ajax Push ICEfaces Ted Goddardrajivmordani
 
Skill Session - Web Multi Device
Skill Session - Web Multi DeviceSkill Session - Web Multi Device
Skill Session - Web Multi Devicefilirom1
 
Responsive web design & mobile web development - a technical and business app...
Responsive web design & mobile web development - a technical and business app...Responsive web design & mobile web development - a technical and business app...
Responsive web design & mobile web development - a technical and business app...Atos_Worldline
 
Perf ug fastandbeautiful
Perf ug fastandbeautifulPerf ug fastandbeautiful
Perf ug fastandbeautifulDoug Sillars
 
The Mobile Platform World
The Mobile Platform WorldThe Mobile Platform World
The Mobile Platform WorldMatt Evans
 
50 Mobile Hacks for Career Counselors
50 Mobile Hacks for Career Counselors50 Mobile Hacks for Career Counselors
50 Mobile Hacks for Career CounselorsMelissa A. Venable
 
Web App vs Web Site
Web App vs Web SiteWeb App vs Web Site
Web App vs Web SiteMatt Evans
 
Mobile Web Mega Trend 2010
Mobile Web Mega Trend 2010Mobile Web Mega Trend 2010
Mobile Web Mega Trend 2010Manyoung Cho
 
Devoxx be fast and beautiful images
Devoxx be fast and beautiful imagesDevoxx be fast and beautiful images
Devoxx be fast and beautiful imagesDoug Sillars
 
Beautiful and Fast Images
Beautiful and Fast Images Beautiful and Fast Images
Beautiful and Fast Images Doug Sillars
 
Waterford fast images
Waterford fast imagesWaterford fast images
Waterford fast imagesDoug Sillars
 
Responsive images are here. Now what?
Responsive images are here. Now what?Responsive images are here. Now what?
Responsive images are here. Now what?Jason Grigsby
 
Pre-Conference Course: Wearables Workshop: UX Essentials - Phillip Likens
Pre-Conference Course: Wearables Workshop: UX Essentials - Phillip LikensPre-Conference Course: Wearables Workshop: UX Essentials - Phillip Likens
Pre-Conference Course: Wearables Workshop: UX Essentials - Phillip LikensUXPA International
 
Mobile First Responsive Web Design — BD Conf Oct 2013
Mobile First Responsive Web Design — BD Conf Oct 2013Mobile First Responsive Web Design — BD Conf Oct 2013
Mobile First Responsive Web Design — BD Conf Oct 2013Jason Grigsby
 
Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013
Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013
Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013Anna Dahlström
 
Designing For Multiple Devices - GA New York, 6 March 2013
Designing For Multiple Devices - GA New York, 6 March 2013Designing For Multiple Devices - GA New York, 6 March 2013
Designing For Multiple Devices - GA New York, 6 March 2013Anna Dahlström
 
Mobile migration talk by appSTUDIO at WordCamp Jerusalem 2010
Mobile migration talk by appSTUDIO at WordCamp Jerusalem 2010Mobile migration talk by appSTUDIO at WordCamp Jerusalem 2010
Mobile migration talk by appSTUDIO at WordCamp Jerusalem 2010David Sigal
 

Was ist angesagt? (17)

Ajax Push ICEfaces Ted Goddard
Ajax Push ICEfaces Ted GoddardAjax Push ICEfaces Ted Goddard
Ajax Push ICEfaces Ted Goddard
 
Skill Session - Web Multi Device
Skill Session - Web Multi DeviceSkill Session - Web Multi Device
Skill Session - Web Multi Device
 
Responsive web design & mobile web development - a technical and business app...
Responsive web design & mobile web development - a technical and business app...Responsive web design & mobile web development - a technical and business app...
Responsive web design & mobile web development - a technical and business app...
 
Perf ug fastandbeautiful
Perf ug fastandbeautifulPerf ug fastandbeautiful
Perf ug fastandbeautiful
 
The Mobile Platform World
The Mobile Platform WorldThe Mobile Platform World
The Mobile Platform World
 
50 Mobile Hacks for Career Counselors
50 Mobile Hacks for Career Counselors50 Mobile Hacks for Career Counselors
50 Mobile Hacks for Career Counselors
 
Web App vs Web Site
Web App vs Web SiteWeb App vs Web Site
Web App vs Web Site
 
Mobile Web Mega Trend 2010
Mobile Web Mega Trend 2010Mobile Web Mega Trend 2010
Mobile Web Mega Trend 2010
 
Devoxx be fast and beautiful images
Devoxx be fast and beautiful imagesDevoxx be fast and beautiful images
Devoxx be fast and beautiful images
 
Beautiful and Fast Images
Beautiful and Fast Images Beautiful and Fast Images
Beautiful and Fast Images
 
Waterford fast images
Waterford fast imagesWaterford fast images
Waterford fast images
 
Responsive images are here. Now what?
Responsive images are here. Now what?Responsive images are here. Now what?
Responsive images are here. Now what?
 
Pre-Conference Course: Wearables Workshop: UX Essentials - Phillip Likens
Pre-Conference Course: Wearables Workshop: UX Essentials - Phillip LikensPre-Conference Course: Wearables Workshop: UX Essentials - Phillip Likens
Pre-Conference Course: Wearables Workshop: UX Essentials - Phillip Likens
 
Mobile First Responsive Web Design — BD Conf Oct 2013
Mobile First Responsive Web Design — BD Conf Oct 2013Mobile First Responsive Web Design — BD Conf Oct 2013
Mobile First Responsive Web Design — BD Conf Oct 2013
 
Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013
Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013
Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013
 
Designing For Multiple Devices - GA New York, 6 March 2013
Designing For Multiple Devices - GA New York, 6 March 2013Designing For Multiple Devices - GA New York, 6 March 2013
Designing For Multiple Devices - GA New York, 6 March 2013
 
Mobile migration talk by appSTUDIO at WordCamp Jerusalem 2010
Mobile migration talk by appSTUDIO at WordCamp Jerusalem 2010Mobile migration talk by appSTUDIO at WordCamp Jerusalem 2010
Mobile migration talk by appSTUDIO at WordCamp Jerusalem 2010
 

Andere mochten auch

Enhancing GA with form factor data
Enhancing GA with form factor dataEnhancing GA with form factor data
Enhancing GA with form factor dataJon Arne Sæterås
 
Search on Mobile - Mobile Copenhagen 2012
Search on Mobile - Mobile Copenhagen 2012Search on Mobile - Mobile Copenhagen 2012
Search on Mobile - Mobile Copenhagen 2012Jon Arne Sæterås
 
Makingweb: Great front end performance starts on the server.
Makingweb: Great front end performance starts on the server.Makingweb: Great front end performance starts on the server.
Makingweb: Great front end performance starts on the server.Jon Arne Sæterås
 
Velocity EU: Give Responsive Design a Mobile Performance Boost
Velocity EU: Give Responsive Design a Mobile Performance BoostVelocity EU: Give Responsive Design a Mobile Performance Boost
Velocity EU: Give Responsive Design a Mobile Performance BoostJon Arne Sæterås
 
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 2013Jon Arne Sæterås
 
ModevTablet: Embrace Device Diversity
ModevTablet: Embrace Device DiversityModevTablet: Embrace Device Diversity
ModevTablet: Embrace Device DiversityJon Arne Sæterås
 
Front-End Performance Starts On the Server
Front-End Performance Starts On the ServerFront-End Performance Starts On the Server
Front-End Performance Starts On the ServerJon Arne Sæterås
 
Bienvenida simulación de negocios 17 1
Bienvenida simulación de negocios 17 1Bienvenida simulación de negocios 17 1
Bienvenida simulación de negocios 17 1Aramir14
 
Lasinversiones
LasinversionesLasinversiones
LasinversionesAramir14
 
Presentacion 16 3
Presentacion 16 3Presentacion 16 3
Presentacion 16 3Aramir14
 
Bienvenida simulación de negocios 17 1
Bienvenida simulación de negocios 17 1Bienvenida simulación de negocios 17 1
Bienvenida simulación de negocios 17 1Aramir14
 
Publicidad
PublicidadPublicidad
PublicidadAramir14
 
Presentacion 16 3 calidad
Presentacion 16 3 calidadPresentacion 16 3 calidad
Presentacion 16 3 calidadAramir14
 

Andere mochten auch (17)

Enhancing GA with form factor data
Enhancing GA with form factor dataEnhancing GA with form factor data
Enhancing GA with form factor data
 
Search on Mobile - Mobile Copenhagen 2012
Search on Mobile - Mobile Copenhagen 2012Search on Mobile - Mobile Copenhagen 2012
Search on Mobile - Mobile Copenhagen 2012
 
Makingweb: Great front end performance starts on the server.
Makingweb: Great front end performance starts on the server.Makingweb: Great front end performance starts on the server.
Makingweb: Great front end performance starts on the server.
 
RWD myth busting @ Topconf
RWD myth busting @ TopconfRWD myth busting @ Topconf
RWD myth busting @ Topconf
 
Velocity EU: Give Responsive Design a Mobile Performance Boost
Velocity EU: Give Responsive Design a Mobile Performance BoostVelocity EU: Give Responsive Design a Mobile Performance Boost
Velocity EU: Give Responsive Design a Mobile Performance Boost
 
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
 
Web 2.0 Apps
Web 2.0 AppsWeb 2.0 Apps
Web 2.0 Apps
 
Web 2.0
Web 2.0Web 2.0
Web 2.0
 
ModevTablet: Embrace Device Diversity
ModevTablet: Embrace Device DiversityModevTablet: Embrace Device Diversity
ModevTablet: Embrace Device Diversity
 
Front-End Performance Starts On the Server
Front-End Performance Starts On the ServerFront-End Performance Starts On the Server
Front-End Performance Starts On the Server
 
Bienvenida simulación de negocios 17 1
Bienvenida simulación de negocios 17 1Bienvenida simulación de negocios 17 1
Bienvenida simulación de negocios 17 1
 
Lasinversiones
LasinversionesLasinversiones
Lasinversiones
 
Digitale Medier 2011
Digitale Medier 2011Digitale Medier 2011
Digitale Medier 2011
 
Presentacion 16 3
Presentacion 16 3Presentacion 16 3
Presentacion 16 3
 
Bienvenida simulación de negocios 17 1
Bienvenida simulación de negocios 17 1Bienvenida simulación de negocios 17 1
Bienvenida simulación de negocios 17 1
 
Publicidad
PublicidadPublicidad
Publicidad
 
Presentacion 16 3 calidad
Presentacion 16 3 calidadPresentacion 16 3 calidad
Presentacion 16 3 calidad
 

Ähnlich wie Mobile for web developers

Mobile App Development
Mobile App DevelopmentMobile App Development
Mobile App DevelopmentChris Morrell
 
Fake it 'til you make it
Fake it 'til you make itFake it 'til you make it
Fake it 'til you make itJonathan Snook
 
Creating a Slick Web App Using jQTouch
Creating a Slick Web App Using jQTouchCreating a Slick Web App Using jQTouch
Creating a Slick Web App Using jQTouchSt. Petersburg College
 
Developing for Mobile Web
Developing for Mobile WebDeveloping for Mobile Web
Developing for Mobile WebBarbara Bermes
 
SmartPhone Design and Delivery
SmartPhone Design and DeliverySmartPhone Design and Delivery
SmartPhone Design and DeliveryJason Diehl
 
Responsive websites. Toolbox
Responsive websites. ToolboxResponsive websites. Toolbox
Responsive websites. ToolboxWojtek Zając
 
Best Practices in Mobile Development: Building Your First jQuery Mobile App
Best Practices in Mobile Development: Building Your First jQuery Mobile AppBest Practices in Mobile Development: Building Your First jQuery Mobile App
Best Practices in Mobile Development: Building Your First jQuery Mobile AppSt. Petersburg College
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12touchtitans
 
Mobile Web Overview https://www.edocr.com/v/k52p5vj4/
Mobile Web Overview https://www.edocr.com/v/k52p5vj4/Mobile Web Overview https://www.edocr.com/v/k52p5vj4/
Mobile Web Overview https://www.edocr.com/v/k52p5vj4/Jack Zheng
 
Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5Ron Reiter
 
Jason.O Keefe.Genuitec.Presentation.Final
Jason.O Keefe.Genuitec.Presentation.FinalJason.O Keefe.Genuitec.Presentation.Final
Jason.O Keefe.Genuitec.Presentation.FinalAjax Experience 2009
 
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....Patrick Lauke
 
Making The Most Of Mobile
Making The Most Of MobileMaking The Most Of Mobile
Making The Most Of MobileSuzzicks
 
Mobilise your ASP.NET website
Mobilise your ASP.NET websiteMobilise your ASP.NET website
Mobilise your ASP.NET websiteMatt Lacey
 
Mobile web application development
Mobile web application developmentMobile web application development
Mobile web application developmentVince Aggrippino
 
QuickSoft Mobile Tips & Tricks 11-03-10
QuickSoft Mobile Tips & Tricks 11-03-10QuickSoft Mobile Tips & Tricks 11-03-10
QuickSoft Mobile Tips & Tricks 11-03-10Almog Koren
 
Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010Patrick Lauke
 
Intro to PhoneGap and PhoneGap Build
Intro to PhoneGap and PhoneGap BuildIntro to PhoneGap and PhoneGap Build
Intro to PhoneGap and PhoneGap BuildChris Griffith
 

Ähnlich wie Mobile for web developers (20)

Mobile App Development
Mobile App DevelopmentMobile App Development
Mobile App Development
 
Fake it 'til you make it
Fake it 'til you make itFake it 'til you make it
Fake it 'til you make it
 
Creating a Slick Web App Using jQTouch
Creating a Slick Web App Using jQTouchCreating a Slick Web App Using jQTouch
Creating a Slick Web App Using jQTouch
 
Developing for Mobile Web
Developing for Mobile WebDeveloping for Mobile Web
Developing for Mobile Web
 
SmartPhone Design and Delivery
SmartPhone Design and DeliverySmartPhone Design and Delivery
SmartPhone Design and Delivery
 
Responsive websites. Toolbox
Responsive websites. ToolboxResponsive websites. Toolbox
Responsive websites. Toolbox
 
Best Practices in Mobile Development: Building Your First jQuery Mobile App
Best Practices in Mobile Development: Building Your First jQuery Mobile AppBest Practices in Mobile Development: Building Your First jQuery Mobile App
Best Practices in Mobile Development: Building Your First jQuery Mobile App
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12
 
Mobile Web Overview https://www.edocr.com/v/k52p5vj4/
Mobile Web Overview https://www.edocr.com/v/k52p5vj4/Mobile Web Overview https://www.edocr.com/v/k52p5vj4/
Mobile Web Overview https://www.edocr.com/v/k52p5vj4/
 
Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5
 
Vodafone Widget Camp
Vodafone Widget CampVodafone Widget Camp
Vodafone Widget Camp
 
Jason.O Keefe.Genuitec.Presentation.Final
Jason.O Keefe.Genuitec.Presentation.FinalJason.O Keefe.Genuitec.Presentation.Final
Jason.O Keefe.Genuitec.Presentation.Final
 
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
 
Making The Most Of Mobile
Making The Most Of MobileMaking The Most Of Mobile
Making The Most Of Mobile
 
Mobilise your ASP.NET website
Mobilise your ASP.NET websiteMobilise your ASP.NET website
Mobilise your ASP.NET website
 
Mobile web application development
Mobile web application developmentMobile web application development
Mobile web application development
 
QuickSoft Mobile Tips & Tricks 11-03-10
QuickSoft Mobile Tips & Tricks 11-03-10QuickSoft Mobile Tips & Tricks 11-03-10
QuickSoft Mobile Tips & Tricks 11-03-10
 
Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010
 
Jquery mobile
Jquery mobileJquery mobile
Jquery mobile
 
Intro to PhoneGap and PhoneGap Build
Intro to PhoneGap and PhoneGap BuildIntro to PhoneGap and PhoneGap Build
Intro to PhoneGap and PhoneGap Build
 

Kürzlich hochgeladen

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Kürzlich hochgeladen (20)

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Mobile for web developers

  • 1. Jon Arne Sæterås Product Director, Mobiletech Twitter: @jonarnes Email: jas@mobiletech.mobi
  • 2.
  • 10.
  • 11. Page view growth: 2009-2010: 109% 2010-2011: 150% Unique users
  • 12. 23,7% of pupulation Device OS Source: Mobiletech.no/Forbrukerog media
  • 13. 23,7% of pupulation Browser Connection Source: Mobiletech.no/Forbrukerog media
  • 14. Bedtime Desktop preferred Breakfast / commuting
  • 16. Common pitfalls Don’t forget that Data traffic is expensive The the network is slow The device has lower processing power That the interaction model is unknown That the screen is smaller
  • 17. Context Hardware OS Physical capabilities tech perspective Browser WRT App Social networks Local user profile CRM Superlocal Home/abroad Telco network WiFi Bandwidth
  • 18. Logic is moving More front-end! Get started! Feature detection, not device detection
  • 19. View port The visual part of the web site http://www.flickr.com/photos/dm-set/3579287485/
  • 20. On a desktop viewport = size of <html/> = size of the browser window
  • 22. Layout viewport default width iPhone Safari: 980px Opera: 850px AndriodWebKit: 800px IE: 974 px Symbian WebKit: Tries to keep the layout viewport equal to the visual viewport. BadaWebkit: layout viewport as wide as the widest element Blackberry: layout viewport equals the visual viewport at 100% zoom
  • 23. Best user experience when visual view port width = layout view port width = device-width
  • 24. 1px != 1px iPhone 4 has 640 physical pixels, but layout viewport is 320 “High DPI” screens “CSS pixels” Zoom level Not the same as physical pixels on the device Decides how many physical pixels a CSS pixel covers Read More: http://www.quirksmode.org/mobile/viewports.html http://www.flickr.com/photos/korosirego/
  • 25.
  • 27. Users ZoomBaby steps: How to make use of this? http://www.flickr.com/photos/andrewrennie/
  • 28. Overriding the default <meta name="viewport" content="width=240, height=320, user-scalable=yes, initial-scale=2.5, maximum-scale=5.0, minimum-scale=1.0" /> Width/Height of viewport Zoomable? Initial zoom <meta name="viewport” content="target-densitydpi=device-dpi" /> device-dpi: Use the device's native dpi as target dpi. low-dpi: 120dpi medium-dpi: 160dpi, which is also the default as of today high-dpi: 240dpi <number>: We take any number between 70 and 400 as a valid target dpi. 4 has 640 physical pixels, but layout viewport is 320
  • 29. iPhone4 High DPI trick 640px wide <imgsrc=“image.png” width=“320” alt=“highdpi” /> Pysical image size = visual viewport width * pixel ratio
  • 30. Media Queries <stylemedia="handheld” type=“” /> Small screens For big screens
  • 31. Media queries Target size of viewport with a different CSS <link rel="stylesheet" type="text/css” media="only screen and (max-width: 480px), only screen and (max-device-width: 480px)” href=“small-device.css" /> Landscape or portrait? <link rel=”stylesheet” media=”all and (orientation:portrait)” href=”portrait-style.css” /> <link rel=”stylesheet” media=”all and (orientation:landscape)” href=”landscape-style.css” /> <link media=”all and (-webkit-min-device-pixel-ratio:2)” href=”highDPI.css” type=”text/css” rel=”stylesheet” /> High DPI screens
  • 32. Detect iPad if(navigator.platform== "iPad”){ //put iPadcss into the dom } @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { /* “iPad” style*/ }
  • 34.
  • 35. PhoneGap – native wrapper (http://www.phonegap.com/)
  • 36. jQuery Mobile – (http://jquerymobile.com/)
  • 37. Zepto.js - jQuery like (http://zeptojs.com/)
  • 38. Jo - Mobile App Framework (http://joapp.com/)
  • 40. Wink Toolkit - Transitions/Animations (http://www.winktoolkit.org/)
  • 41. ChocolateChip Mobile - (http://chocolatechipmobile.wordpress.com/)
  • 43. baseJS - only Apple (http://paularmstrongdesigns.com/projects/basejs/)
  • 44. XUI - compact (http://xuijs.com/)
  • 46. jQTouch - jQuery plugin (http://www.jqtouch.com/)
  • 47. UiUIKit - Universal iPhone UI Kit (http://code.google.com/p/iphone-universal/)
  • 49. PastryKit – Apple’s proprietary framework (http://davidbcalhoun.com/2009/pastrykit-digging-into-an-apple-pie)
  • 51. Modernizer – Feature detection (http://www.modernizr.com) Tips: Don’t use combined css and js frameworks. Don’t use jQuery Don’t use iPhone-only libs
  • 52.
  • 56.
  • 57. Inline images Reduces number of http request (latency) <imgsrc="data:image/gif;base64,R0lGODlhEAAOALMAAOazToeHh0tLS/7LZv/0jvb29t/f3//Ub/ /ge8WSLf/rhf/3kdbW1mxsbP//mf///yH5BAAAAAAALAAAAAAQAA4AAARe8L1Ekyky67QZ1hLnjM5UUde0ECwLJoExKcpp V0aCcGCmTIHEIUEqjgaORCMxIC6e0CcguWw6aFjsVMkkIr7g77ZKPJjPZqIyd7sJAgVGoEGv2xsBxqNgYPj/gAwXEQA7" width="16" height="14" alt=”inline”/>
  • 58. Storage window.localStorage.setItem('key', 'value'); window.sessionStorage.setItem('key', 'value'); window.sessionStorage.removeItem('key'); window.localStorage.removeItem('key'); window.sessionStorage.getItem('key'); window.localStorage.getItem('key'); window.sessionStorage.clear(); window.localStorage.clear(); Cookieson steroids
  • 59. HTTP response header 200 OK Connection: close Date: Tue, 04 Jan 2011 20:05:52 GMT Server: Apache Content-Type: text/html; charset=UTF-8 Client-Date: Tue, 04 Jan 2011 20:05:52 GMT Client-Peer: 89.221.244.18:80 Client-Response-Num: 1 Vary: Accept,User-Agent Cache-Control: no-transform, max-age=3600 Expires: <some time in the future> Last-Modified: <some time in the past> Allow caching. Don’t forget images, css and js http-headers
  • 60. Mobile SEO 140 bill web searches pr month x 5%on mobile = 6-8 billion mobile searches Make search engines aware of your site. Submit a mobile site map Handle mobile crawlers Enable deep linking Meta tags <meta name=“Handheldfriendly” content=“true”/> <meta name=“MobileOptimized” content=“240”/> <link rel=“alternate” media=“handheld” href=“”/>
  • 61. Redirect mobile user agents Not bullet proof! Client side or server side Deep linking <script language=javascript> if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))){ if(confirm('Hey, is it an apple in your hand? Mobile site?')) location.replace("URL HERE"); } </script>
  • 62. Is the mobile web becoming desktop-web-like?…or is the web becoming more mobile aware? Jon Arne Sæterås Product Director, Mobiletech Twitter: @jonarnes Email: jas@mobiletech.mobi

Hinweis der Redaktion

  1. Betyrmer front end!
  2. @media only screen and (-webkit-min-device-pixel-ratio: 2) { // CSS goes here }if (navigator.connection.type==navigator.connection.WIFI) {}