Ajax
-
Upload
sampetruda -
Category
Documents
-
view
171 -
download
1
description
Transcript of Ajax
![Page 2: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/2.jpg)
Open Source On Mobiles Is In Trouble
![Page 3: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/3.jpg)
Open Content Is Much More Likely To Flourish
![Page 4: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/4.jpg)
Can We?
![Page 5: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/5.jpg)
Should We?
![Page 6: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/6.jpg)
Will We?
![Page 7: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/7.jpg)
Easy Rules for Predicting the Future
• Be vague!
• Preface predictions with “in 5 years...”
• Follow the related rates
![Page 8: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/8.jpg)
• Current smartphones predict feature set
• Examine costly components
• Of phone
• Of infrastructure
• How do they get paid?
• Current business models
• Regulatory environment
How To Analyze?
![Page 9: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/9.jpg)
Where Are We Now?
![Page 10: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/10.jpg)
Market Size
• 2.4 billion mobile phones
• 800 million sold in 2005
• 200 million PC’s sold in 2005
• 123 million smartphones sold this year
• 70% more sold in 2005 than in 2004
![Page 11: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/11.jpg)
Handset Turnover
USA Europe Japan
24 months 18 months < 12 months
![Page 12: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/12.jpg)
Smartphone Features• Cameras ubiquitous
• >= 16K color screens
• Optional data connections
• Fixed-price bandwidth rare
• WiFi rare
• Thumbpads on PDA replacements
• Entirely closed systems
![Page 13: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/13.jpg)
Related Rates• Moore’s Law: double performance or halve
power every 18 months
• Power density: 9-15% increase/yr
• Display density (PPI)
• Radio power consumption
• Camera power consumption
• Color density improvements
![Page 14: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/14.jpg)
Mobile Content• WAP/WML cycling out of service
• Walled gardens the norm
• Pay-to-play
• Huge maintenance burden for OpCo’s
• Content providers loathe it
• XHTML compact, tag-soup making inroads
• Content industry enthralled by audio/video
![Page 15: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/15.jpg)
Traditional Content
• Search indexes with > 20 billion documents
• Webs of data via API’s
• Tom Coates’ “Dirty Semantics”
• RSS/Atom
• Online services challenging desktop applications
• In part thanks to Ajax
![Page 16: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/16.jpg)
OpCo Networks
• GRPS and 1xRTT are ubiquitous
• “3G” nearly deployed
• MVNOs
• Nearing density limits
• Latency sucks
![Page 17: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/17.jpg)
Bandwidth Evolution
GSM CDMA
GRPS 117 kb/s CMDA One 75kb/s
EDGE 384 kb/s 1xRTT 307 kb/s
E-EDGE 2 mb/s 1xEV-DO 2.4 mb/s
HSDPA 10 mb/s EV-DO ph2 4.8 mb/s
![Page 18: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/18.jpg)
Latency Is Not Improving With
Increased Bandwidth
![Page 19: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/19.jpg)
The Latency Problem
• TCP init on GRPS: 5-7 seconds
• TCP init on 3G: 12-15 seconds
• Individual request latency measured in seconds
• OpcCo’s running exotic optimizing proxies for their walled-garden content
![Page 20: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/20.jpg)
Why The OpCo’s Will Lose Control
• MVNO’s + manufacturers will route around
• 3G costs require selling assets
• 129 BILLION DOLLARS
• Vodafone makes 4% of revenue from 3G
• Inept at creating network effects
• IP will replace internal protocols (UTMS 7/8)
• Packet switched wins!
![Page 21: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/21.jpg)
Phones Are Participatory!
![Page 22: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/22.jpg)
Ajax Is About Reducing Latency For Applications
![Page 23: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/23.jpg)
Mobile App Platforms
• Custom code
• Brew
• J2ME
• .NET CF
• S60 Python
• Mobile web apps
![Page 24: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/24.jpg)
Browser Alternatives
• Purpose-built services consumers/producers
• RSS clients
• Smarter proxies
• Compelling native applications/services
![Page 25: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/25.jpg)
Web Devs Make Suggestions, Not Edicts
![Page 26: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/26.jpg)
Mobile Browers• S60 WebKit
“Reindeer”
• ACCESS/Palm NetFront
• Pocket IE
• Opera Mobile
• OpenWave
• Blackberry
• Obigo
• SEMC Browser
• MiniMo
• Motorola E* browser
• Opera Mini (proxied)
![Page 27: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/27.jpg)
Mobile Browsers Are Generally Sold As
“Modules”
![Page 28: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/28.jpg)
Reindeer• Derived from WebKit/Safari
• Open Source!
• Full JavaScript engine
• Good DOM support
• XMLHttpRequest implementation
• Async only
• <script> includes broken
![Page 29: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/29.jpg)
ACCESS NetFront
• Good JavaScript/HTML/CSS support
• Multi-OS, Multi-device
• Claim Ajax support in v3.4
• No emulator for 3.4 available
• 3.2/3.3 have no XHR object
• Documentation spotty
![Page 30: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/30.jpg)
Pocket IE (PIE)
• Good HTML
• Acceptable CSS
• JScript 5.6
• XHR implementation
• Still relies on ActiveX
• Strange COM/JS boundary issues
![Page 31: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/31.jpg)
Opera Mobile
• Good HTML, great CSS
• JavaScript and Ajax support
• Not free, sometimes bundled
• Multi-OS, Multi-Platform
• Documentation getting better
![Page 32: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/32.jpg)
OpenWave
• OpenWave WAP was de-facto standard for older phones
• Reasonable HTML, CSS iffy
• Promising JavaScript support RSN
• Total loss for Ajax right now
![Page 33: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/33.jpg)
Blackberry
• HTML pretty good
• CSS turned off by default
• JavaScript turned off by default
• No XHR object
![Page 34: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/34.jpg)
Obigo
• Specs look good
• Passes Acid 2
• Multi-OS, Multi-platform
• No way to easily get emulator
• Will be poorly supported
![Page 35: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/35.jpg)
Mobile Web Development
• Emulation everywhere
• Documentation nowhere
• Toolchains are Windows-based
• Debugging info non-existent
• OpCo’s don’t care about you
![Page 36: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/36.jpg)
Mobile Ajax Will “Work” In 3-5 Years
![Page 37: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/37.jpg)
Will Anyone Care?
![Page 38: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/38.jpg)
Baby Steps
• “Progressive enhancement” is critical
• JS/DOM for remixing “normal” pages
• Browsers may make irrelevant
• JS as a stopgap
• Watch for emerging “winners” in browsers
• Toolkits should start to adapt soon
![Page 39: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/39.jpg)
Smartphone Browsers Handle “Tag Soup”
![Page 40: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/40.jpg)
Mobile Browsers Need To Extend HTML, Not
Castrate It
![Page 41: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/41.jpg)
Desktop I/O• Keyboard
• Mouse
• Printer
• Less common:
• Speaker
• Microphone
• Video
![Page 42: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/42.jpg)
Mobile I/O• Speaker
• Microphone
• Numerical keypad/4-direction pointer
• Camera
• Less common:
• Thumb-board
• Flexible pointer
![Page 43: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/43.jpg)
Meeting Text Halfway
• Thumboards
• Chording
• Voice recognition
• Power budget
• Predictive UI
![Page 44: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/44.jpg)
Recommendations
• Wait a couple of years
• Don’t wait any longer than that
• Support MVNO regulation
• Buy phones from open-platform manufacturers
• Start thinking about how to reduce steps to action in your apps
![Page 45: Ajax](https://reader034.fdocuments.in/reader034/viewer/2022042813/54b7ae2f4a79594b258b4712/html5/thumbnails/45.jpg)
Thank You