The Mobile Web @ 2010 JSConf
-
Upload
dion -
Category
Technology
-
view
11 -
download
0
description
Transcript of The Mobile Web @ 2010 JSConf
![Page 1: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/1.jpg)
JSConf 2010, Washington DC
Saturday, April 17, 2010
![Page 2: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/2.jpg)
“It's better to be a pirate than join the navy.”
Saturday, April 17, 2010
![Page 3: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/3.jpg)
Saturday, April 17, 2010
![Page 4: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/4.jpg)
Saturday, April 17, 2010
![Page 5: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/5.jpg)
Saturday, April 17, 2010
![Page 6: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/6.jpg)
Saturday, April 17, 2010
![Page 7: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/7.jpg)
Saturday, April 17, 2010
![Page 8: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/8.jpg)
Saturday, April 17, 2010
![Page 9: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/9.jpg)
craigslist
Saturday, April 17, 2010
![Page 10: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/10.jpg)
Saturday, April 17, 2010
![Page 11: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/11.jpg)
Apple
Nokia
Palm
Sony
RIMHTC
LG Motorola
Saturday, April 17, 2010
![Page 12: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/12.jpg)
1,500,000,000+
Saturday, April 17, 2010
![Page 13: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/13.jpg)
Saturday, April 17, 2010
![Page 14: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/14.jpg)
Saturday, April 17, 2010
![Page 15: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/15.jpg)
Saturday, April 17, 2010
![Page 16: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/16.jpg)
Saturday, April 17, 2010
![Page 17: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/17.jpg)
Saturday, April 17, 2010
![Page 18: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/18.jpg)
Saturday, April 17, 2010
![Page 19: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/19.jpg)
Saturday, April 17, 2010
![Page 20: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/20.jpg)
Chrome’s V8 Safari’s SquirrelFish Extreme Firefox’s TraceMonkey Opera's Carakan
2.01.0 1.0
Alpha
100xSaturday, April 17, 2010
![Page 21: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/21.jpg)
User Interface
BackgroundThread
2X
Browser
1
Web Workers
Saturday, April 17, 2010
![Page 22: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/22.jpg)
HTML5
Saturday, April 17, 2010
![Page 23: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/23.jpg)
Web Apps Packaged Apps
Web deployment model✓Use HTML5 app featuresfor caching + integration
✓Package applications✓Deploy to “store”✓
Saturday, April 17, 2010
![Page 24: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/24.jpg)
Saturday, April 17, 2010
![Page 25: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/25.jpg)
Saturday, April 17, 2010
![Page 26: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/26.jpg)
Fluid
Appcelerator Titanium
PhoneGap
Palm webOS
Saturday, April 17, 2010
![Page 27: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/27.jpg)
Embedded WebKitInstance
+ JS runtime (e.g., V8)
Device-native Application Shell
Saturday, April 17, 2010
![Page 28: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/28.jpg)
Titanium Desktop
supports php, Python, Ruby, and Javascript
Titanium Mobile
Saturday, April 17, 2010
![Page 29: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/29.jpg)
• Device
• Notification
• Media
• GeoLocation
• Accelerometer
• Contact
• Camera
PhoneGap
Saturday, April 17, 2010
![Page 30: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/30.jpg)
function watchAccel() {
var win = function(a) {
document.getElementById('x').innerHTML = a.x;
document.getElementById('y').innerHTML = a.y;
document.getElementById('z').innerHTML = a.z;
};
var fail = function(){};
var opt = { frequency: 100 };
watchId = navigator.accelerometer.watchAcceleration
(win, fail, opt);
}
PhoneGap
Saturday, April 17, 2010
![Page 31: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/31.jpg)
Saturday, April 17, 2010
![Page 32: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/32.jpg)
// watch for swiping
$('#swipeme').bind('swipe', function(event, info) {
console.log(info.direction);
});
// orientation changes
$('body').bind('turn', function(event, info) {
console.log(info.orientation); // landscape/profile
});
// animations
$('#portfolio').bind('pageAnimationEnd',
function(event, info) {
if (info.direction == 'in') loadWorks();
})
Saturday, April 17, 2010
![Page 33: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/33.jpg)
Saturday, April 17, 2010
![Page 34: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/34.jpg)
Saturday, April 17, 2010
![Page 35: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/35.jpg)
Saturday, April 17, 2010
![Page 36: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/36.jpg)
Getting Touchy
Saturday, April 17, 2010
![Page 37: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/37.jpg)
Tweetie 2Feel the refresh
Palm PreGesture back
Saturday, April 17, 2010
![Page 38: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/38.jpg)
Haptics are coming :)
Saturday, April 17, 2010
![Page 39: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/39.jpg)
Software keyboard Hardware keyboard
Saturday, April 17, 2010
![Page 40: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/40.jpg)
NewsroomViewport on a world
Shake Shake ShakeDefining the new Ctrl-C’s
Saturday, April 17, 2010
![Page 41: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/41.jpg)
What does the user want?
Saturday, April 17, 2010
![Page 42: The Mobile Web @ 2010 JSConf](https://reader034.fdocuments.us/reader034/viewer/2022051608/5451ce6aaf795911068b879b/html5/thumbnails/42.jpg)
Saturday, April 17, 2010