40. webapps
Web View on Android!
1- WebKit from 2.x to 4.3
2- Chromium 30 on 4.4
3- Chromium on Samsung
4- Chromium on Fire OS
41. webapps
Web View on Windows
!
1- IE 10 on Windows (Phone) 8
2- IE 11 on Windows (Phone) 8.1
42. 1- mobile web today
- Understand the real ecosystem
- Android browsers
- Donโt think you are an average user
- Webapp solutions
- May change future
43. 2- mobile & performance
- Perception
- Di๏ฌerences
- Cellular networks
- Responsive Web Design
- Some data
83. Proxies / Network sni๏ฌers
โข Charles Proxy
โข Fiddler
โจ
tools
Image from telerik ๏ฌddler
84. Connection simulators
โข Charles Proxy
โข Clumsy for Windows
โข Network link conditioner from Xcode
โข Net Limiter for Windows
โข SlowyApp for Mac
โจ
tools
115. Data URI in CSS
โข Images are non-blocking by default
โข Using Data URI in CSS creates blocking images
โข Use them only on non-ATF external CSS
โจ
ATF
116. Client side rendering
โข Careful with client-side frameworks
โข Try to render the initial view server-side
โข Render at least a basic view
ATF
117. Client side rendering
โข Careful with client-side frameworks
โข Try to render the initial view server-side
โข Render at least a basic view
ATF
5x
118. Use illusion tricks
โข Loading content animation
โข Minimal-ui viewport ASAP (iOS 7.1+)
โข Remember to keep the user engaged in 1s
ATF
119. Web Fonts
โข Blocks text rendering
โข Fonts are bigger than 14Kb
โข Use them with care
โข Remove characters
ATF
132. Responsive Web Design
โข Using same URL for mobile/desktop still a good a idea
โข Mix it with RESS / adaptive web design
โข Load media queries CSS async
โข Use server-side libraries
โข WURFL or DeviceAtlas
133. After ATF is ready
โข Load rest of your content
โข Use ATF experience: โจ
current performance, screen density, bandwidth
โข Make decisions: HD/SD
150. Scrolling
โข avoid re-painting
โข use touch overflow for momentum
โข donโt use JavaScript scrollers
โข on large scrolling areas: copy native
157. Careful with some design features
โข GPU vs CPU repaint
โข Important on scroll, transitions & animations
158. Careful with some design features
โข Transforms: translate, scale, rotate and opacity GPU
โข border-radius, gradients, shadows, filters CPU repaint
164. you can reach a good experience
Pictures)from)freedigitalphotos.net)
thank you!
twitter: @๏ฌrt
mobilexweb.com
firt.mobi/pmw
Book signing:โจ
Thu 10.45am