TWOHD_Blueprint
-
Upload
jh-lee -
Category
Technology
-
view
1.408 -
download
2
Transcript of TWOHD_Blueprint
Outline
• What is Blueprint• Blueprint Application Manager • Blueprint Language • Reference• Q&A
What is Blueprint
NOKIA N95 2.8 吋
BlackBerry 9000BlackBerry 95003.25 吋
Apple iphone3.5 吋
What is Blueprint
Sony Ericsson W810i
Palm Treo 650
What is Blueprint
• You code once, we optimize for thousands.
• Yahoo!'s platform for developing and distributing mobile Internet services
• allowing developers to maximize their reach across thousands of mobile devices with minimum effort
What is Blueprint
BluePrint Server
yourServer.com
Config.xml
What is Blueprint
BluePrint ServeryourServer.com
Xml file Html file
X-Device-User-Agent
• iPhone– Mozilla/5.0 (iPhone; U; CPU like Mac OS X; de-de)
AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/… Safari/…
• NokiaN95– Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1
NokiaN95_8GB/31.0.015; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413" )
Blueprint Application Manager
• How to apply to test account
Blueprint Application Manager
• http://mobile.yahoo.com/devcenter/manage
config.xml
Blueprint Language
• http headers• Module• Placard• block• load-page• Image• submit
http headers
• header( "Content-Type: application/x-blueprint+xml" );
Overview
module
placard
block
load-page
image
image
• fill-style="fit“
• fill-style="fill“
image
fill-style="fill“ fill-style="fit“
image
• Size=“small”• Size=“large”• Size=“x-large”• Size=“xx-large”• Size=“xxx-large”• Size=“photo”
image
• Originan image : 600px × 448px , 66.09 KB• Mobile image : 240px × 180px , 10.32 KB
fill-style="fit“
fill-style="fill“
iphoneBlackBerry
submit
submit
Reference
• YDN Yahoo! Mobile– http://developer.yahoo.com/mobile/
• Yahoo! Blueprint Language Guide– http://developer.yahoo.com/mobile/blueprint/
Questions?